JS Ecosystem simulation with Canvas 2D API