Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/scar17off/particle-life
https://github.com/scar17off/particle-life
game html js particle-life particle-simulation particle-simulator particles simulation
Last synced: 22 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/scar17off/particle-life
- Owner: scar17off
- Created: 2024-07-26T20:58:21.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-07-26T21:13:37.000Z (5 months ago)
- Last Synced: 2024-07-26T22:36:23.778Z (5 months ago)
- Topics: game, html, js, particle-life, particle-simulation, particle-simulator, particles, simulation
- Language: JavaScript
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Particle Life Simulation
This project is an interactive particle simulation that combines elements of artificial life, particle systems, and magical abilities. It creates a dynamic, visually engaging environment where particles of different types interact, evolve, and display various special effects.
## Features
- Multiple particle types with unique behaviors and interactions
- Dynamic attraction and repulsion between particles
- Special abilities for each particle type (e.g., fireball, healing, teleportation)
- Visual effects including glows, trails, lightning, and more
- Interactive elements allowing users to spawn particles and pause the simulation## How to Run
1. Open `index.html` in a modern web browser
2. The simulation will start automatically
3. Use number keys (1-9) to spawn different particle types at the mouse position
4. Press the spacebar to pause/resume the simulation## Customization
Adjust parameters in `js/config.js` to modify particle behavior, counts, and interaction strengths.
## Technologies Used
- HTML5 Canvas for rendering
- Vanilla JavaScript for game logic and animationsEnjoy exploring the emergent behaviors and patterns in this particle life simulation!