News for hackers. Stuff that matters.
Re:WebGL Fluid Simulation by ElijahLynn on Monday May 20, 2019 @05:47PM (#19965596)
WOW! Not only is it FAST, it does multi-touch too! Successfully did 4 fingers already, although saw it somewhat slow down but not much.

On a beefy system this could probably handle the full 10 point touch no problem!

I am doing this on a desktop (Arch + Gnome 3) with an Acer touch display.

Well done!

Re:WebGL Fluid Simulation by tgb on Monday May 20, 2019 @06:25PM (#19965921)
I'd be a little surprised if multittouch affected performance significantly. It's probably simulating and rendering every cell every frame regardless. I couldn't notice a slowdown on my phone with five fingers.
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.
Re:WebGL Fluid Simulation by noio on Monday May 20, 2019 @06:11PM (#19965816)
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.
Re:WebGL Fluid Simulation by damuellen on Monday May 20, 2019 @06:23PM (#19965902)
10 fingers on ipad pro, no slow down.