Re:WebGL Fluid Simulation
by ehsankia on Monday May 20, 2019 @05:49PM
(#19965623)
Woah, you're right. I just tried it on my Pixelbook screen (keep forgetting it's touch screen), and it handling as many fingers as I could give it (all 10) with no lag.
[ Parent
| on HN ]
I'm guessing the number of inputs doesn't really influence simulation speed since the shader runs each frame for each pixel anyway. When touching the screen, some pixels are changed to hot/colored, but that doesn't really change the amount of computation needed to simulate the whole screen.