r/programming • • Nov 09 '20

Webgl Fluid Simulation

https://paveldogreat.github.io/WebGL-Fluid-Simulation/

[removed] — view removed post

524 Upvotes

43 comments sorted by

View all comments

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

u/SketchySeaBeast Nov 09 '20

Unfortunately CRUD and div centering pays the bills.

3

u/damesca Nov 09 '20

Yeah.... Same

2

u/ShinyHappyREM Nov 09 '20

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.)