by mattfrommars · 5y ago · 0 comments
This example uses HTML Canvas, so you could look up some tutorials and start there. At first, programming visually when you've only done API stuff is a whole new world, but it makes a lot of sense with some practice.
I found a tutorial which is probably along the lines you'd want to go down, see https://www.youtube.com/watch?v=gm1QtePAYTM
So:
Probably take a graphics class, with an intro to shaders and the different lightning methods.
Then lookup some cosmetic liquid simulation algorithms by graphics people.
Then learn how to do shaders with canvas and javascript.