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.
2D heightmap wave simulation written by GPT-4, with a lot of help
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.
2D heightmap wave simulation written by GPT-4, with a lot of help
https://loganzartman.github.io/shallow-water-js/