thinking of making a falling sand game using javascript, but not sure how to store and access each pixel and give it physics and rules (example: if there's air under me, i go down) all without it becoming a laggy unoptimized mess that stops responding and freezes after 2 seconds....
about 1 year ago