I recently finished up a project where I used P5.js extensively. I am writing up several short blog posts on development issues, ideas and techniques that helped me out. Here's the second post... Accounting for Pixel Density when using the Canvas tag. Early on in the development phase of my last project I ran into … Continue reading Quick Dev Tip #2 – Canvas Sizing Bug and Pixel Density
Visualizing a Genetic Algorithm Attempting to Solve the Travelling Salesperson Problem
The Travelling Salesperson Problem is a famous problem in computer science. The gist of it is as follows: "Given a list of cities and the distances between each pair of cities, what is the shortest possible route that visits each city and returns to the origin city?" It is an NP-hard problem in combinatorial optimization, … Continue reading Visualizing a Genetic Algorithm Attempting to Solve the Travelling Salesperson Problem