https://t.co/FHo9ezMzST is starting to grow quite a diverse petri dish of living-systems experiments. Most notably here are Mosquito, Fly, Bird, Looper, Wonky Looper and the newest addition OfSwamp, which consists of Swamp, Swamplings and Swamp Workers. pic.twitter.com/bDnXNM8Ee7— Andrew Walpole (@walpolea) March 9, 2022
The main challenge has been squeezing performance out of the project. Since the computational model relies on random execution, many tricks for rendering optimization go out the window. But with the use of pixi.js and some computational caching, I have ben able to optimize the performance down many times over the duration of the project.
Beyond performance, the way elements are built and composed really pushed me to learn some advanced OOP concepts within TypeScript. I relied heavily on various factory patterns to enable elements to modify sites on the grid.