Live data from Hacker News

WebGL Fluid Simulation

paveldogreat.github.io

31–40 of 61 posts

Re: WebGL Fluid Simulation

#34
post #26

I'll always have a soft spot for this earlier implementation which at lower resolutions has a kind of cyberpunk netrunner aesthetic, and at higher resolutions an almost ethereal ghostlike quality: https://haxiomic.github.io/projects/webgl-fluid-and-particle...

I love playing with it at UltraHigh quality and 1 solver iterations. It reminds me of gradually incorporating one ingredient into another when cooking: like incorporating flour into eggs when making pasta.

Re: WebGL Fluid Simulation

#35
post #19

Does anyone know of more examples of water simulations in WebGL? I’m looking for ways to implement waves with foam. I love Evan’s Pool demo. https://madebyevan.com/webgl-water/

Was reading somewhere that one isn't a simulation. Rather super clever tricks to make it look like water, swimming pool, a thing in it.

Re: WebGL Fluid Simulation

#38

I have a fork of this that inverts the light model from additive to subtractive and suddenly its like ink in water https://observablehq.com/@tomlarkworthy/ink

How difficult would it be to prevent the ink from disappearing? Any tips would be appreciated, I'd love to integrate this into a drawing app.

Re: WebGL Fluid Simulation

#39

This reminds me of Plasma Pong! It would be a shame if you implemented a free online version of it ;)

This reminded me of a game but I couldn’t remember which one. I opened this comment thread hoping someone would know, and you delivered. Thank you!

Re: WebGL Fluid Simulation

#40

I have a fork of this that inverts the light model from additive to subtractive and suddenly its like ink in water https://observablehq.com/@tomlarkworthy/ink

You could consider changing your ink to CMYK colors: `mutable ink = [255, 0, 255]`.
Post reply on HN