An advanced simulation of predator-prey dynamics with customizable ecosystem parameters.
EcoSim is an interactive web-based ecosystem simulation that models predator-prey dynamics using principles from ecology and complex systems. The simulation features particles (prey) and predators that follow realistic behaviors like flocking, fleeing, and hunting.
- Real-time Simulation: Watch predators and prey interact in a dynamic environment
- Customizable Parameters: Adjust various settings to observe different ecosystem outcomes
- Interactive Controls: Add predators or prey, change environment settings, and more
- Visual Statistics: Track population counts, births, deaths, and other metrics
- Day/Night Cycle: Option to enable a realistic day/night cycle that affects behavior
- Multiple Background Options: Choose from different visual styles for the simulation
- Open
ecosim.htmlin a modern web browser - Use the control panel on the right to adjust simulation parameters
- Click the "Add Prey" or "Add Predator" buttons to introduce new entities
- Reset the simulation at any time using the reset button
- HTML5
- CSS3 with Tailwind CSS
- JavaScript with p5.js
- Font Awesome for icons
- Saqlain Abbas
- GitHub: razee4315
- LinkedIn: saqlainrazee
This project is open source and available under the MIT License.
