loganzartman / shallow-water-js

2D heightmap wave simulation written by GPT-4, with a lot of help

Home Page:https://loganzartman.github.io/shallow-water-js/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

shallow-water-js

Shallow water simulation using a classic very simple algorithm. Has fake refraction and a simpler verison of evanw's caustics rendering. I prompted chatGPT to write most of it and then refactored and optimized it by hand.

About

2D heightmap wave simulation written by GPT-4, with a lot of help

https://loganzartman.github.io/shallow-water-js/


Languages

Language:HTML 100.0%