4 ms·
How many nodes can you handle with processing? I recently tried to write such a thing using Javascript canvas, but it was too slow for my use case. I haven't tr
by Tichy 17y ago
How many nodes can you handle with processing? I recently tried to write such a thing using Javascript canvas, but it was too slow for my use case. I haven't tried it with Web Workers yet, though.
- smanek 17y agoUp to around 500 or so while maintaining a decent framerate (say, better than 30FPS in steady state). I was using Java's Processing though - which I would expect to be considerably faster than Processing.js. I didn't try decoupling the UI from the computation/model (since the performance was already more than sufficient for my needs), but my gut tells me that my physics code was the bottleneck - not Processing itself.