3 ms·
One simple improvement would have been to pause simulations as soon as system comes to rest.
by 5560675260 4y ago
One simple improvement would have been to pause simulations as soon as system comes to rest.
- sgt 4y agoI was thinking - maybe JS is not the way to do this? Maybe to write similar things one should do it in WebAssembly. Thoughts? I mean, even with paused simulations, I don't see why an i7 CPU should be working at 100% just to draw something on a tiny window in a browser. It seems like a flaw in canvas and JS to me.