/shallow-water-js

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

Primary LanguageHTML

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.