A procedurally animated fish simulation using JavaScript and p5.js. This project features smooth, lifelike fish animations that swim across the screen.
This project is a heavily modified JavaScript/p5.js port of the original animal-proc-anim project. It brings procedurally animated fish to the browser, showcasing fluid swimming motions and dynamic movement patterns.
- Clone the repository:
git clone https://github.com/LeBogoo/fish.git
- Open
index.htmlin your browser, or serve the project using a local web server like Python's built-in HTTP server or Live Server in Visual Studio Code.Then visitcd fish python -m http.server 8000http://localhost:8000in your browser.
You can also check out the live demo: Fish
- p5.js - A JavaScript library for creative coding.
Modify fish.js to tweak fish behavior, appearance, or swimming patterns. You can experiment with different parameters like the speed and other properties to create unique fish behaviors.
Original concept from argonautcode/animal-proc-anim, adapted and expanded in this JavaScript/p5.js version by LeBogoo.
This project is licensed under the MIT License. See the LICENSE file for more details.