Re:WebGL Fluid Simulation
by popalchemist on Sunday December 29, 2024 @03:04PM
(#42542578)
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.
[ Parent
| on HN ]
Re:WebGL Fluid Simulation
by tlarkworthy on Sunday December 29, 2024 @06:08PM
(#42544378)
very easy, its a free parameter in the simulation see the "Ink dissipation" slider, you can set it to > 1 for some weird effects.
No such slider on mine. (https://i.imgur.com/m1tODYK.png)
Re:WebGL Fluid Simulation
by tlarkworthy on Monday December 30, 2024 @06:05PM
(#42554604)
you are looking at the wrong app https://observablehq.com/@tomlarkworthy/ink