City Evolution
I recently read a journal article my supervisor had co-written and thought “I can replicate this!”. The article clearly laid out a method for creating a model that would distribute houses around a central business district based on the preferences of the agents and other model parameters.
The original program on which the publication is based on was written in Java but loving SVG I decided to recreate the model using JavaScript and SVG. I also created a version without SVG using div tags as cells instead for speed comparison testing. Surprisingly, and much to my happiness, using SVG was slightly faster than using the DOM to display square cells.