This is an interactive ripple tank and boids flocking simulation created as a single, library-free HTML file. It's designed to be highly customizable through URL parameters.
... (prompts omitted for brevity) ...
The simulation uses a finite difference method for the water and the classic Reynolds' Boids algorithm for flocking. Rendering is highly optimized, using a single `putImageData` call per frame. All configurations are managed in a single JavaScript object, which is populated from the URL parameters on load and updated dynamically.