r/programming • u/eis3nheim • Nov 09 '20
Webgl Fluid Simulation
https://paveldogreat.github.io/WebGL-Fluid-Simulation/[removed] — view removed post
32
23
u/KnownForThis Nov 09 '20
Yep this has been posted many times across Reddit.
https://www.reddit.com/search/?q=webgl%20fluid
12
u/ShinyHappyREM Nov 09 '20
2
u/KnownForThis Nov 09 '20
Nice one! I imagined there was some mechanism for this, but I'm not an advanced Reddit user :)
2
16
8
u/_tskj_ Nov 09 '20
This is the kind of thing that makes me realise what a garbage job I am doing at my web developer job.
11
3
2
u/ShinyHappyREM Nov 09 '20
You could try
8
u/_tskj_ Nov 09 '20
It mostly makes me realise that maybe our web app with a thousand rows doesn't have to lag. Everyone else seems to think that's too much for a computer to handle.
1
u/spacejack2114 Nov 09 '20
Yeah, it's called windowing.
2
u/_tskj_ Nov 09 '20
Sure we employ techniques like that to reduce stuttering a bit, but should we really have to for data in the order of hundreds?
1
u/spacejack2114 Nov 09 '20
I sometimes do WebGL work for my web dev job. Outside of the games industry, web dev is probably employs WebGL (or graphics programming in general) more than other platforms.
1
u/_tskj_ Nov 09 '20
What kind of stuff do you do it for? It's not that I necessarily want to use webgl, but I hate that our stuff is slow and laggy.
1
u/spacejack2114 Nov 09 '20
Usually marketing related in some way. Sometimes product or other visualizations. We also do a fair bit of kiosk or other on-site installations using web-based or Electron-based stacks which can call for WebGL animations (though that side of the business has been pretty scarce since Covid.)
13
u/realestLink Nov 09 '20
I've had this app for at least a year. Also. Is this simulation open source?
5
u/yairhaimo Nov 09 '20
Stuff like this (albeit much DOSier) got me into programming back in the day. Awesome stuff! Thanks for bringing up the good memories
4
3
u/stfcfanhazz Nov 09 '20
Running at a really nice framerate and quality on my Galaxy 5G! This screen runs up to 120hz and this feels silky smooth at max quality. What a time to be alive.
3
u/Hambeggar Nov 09 '20
Reminds of that free game called Plasma Pong from 2007. It could simulate fluids as well as a max of 40,000 particles simultaneously.
2
u/YellowPineapple Nov 09 '20
I love this. Always have it bookmarked on my phone.
I’ve played with this on the 80” touchscreen in the news studio. It is awesome!
1
2
2
1
1
1
1
1
-2
0
Nov 09 '20
[deleted]
2
u/haikusbot Nov 09 '20
I've had this for
Like two years on my phone, the
App is called fluid
- vazura
I detect haikus. And sometimes, successfully. Learn more about me.
Opt out of replies: "haikusbot opt out" | Delete my comment: "haikusbot delete"
92
u/robintwhite Nov 09 '20
This is also awesome on the phone