Genesis is a particle life simulator built using the raylib framework. It provides an immersive experience of observing and interacting with dynamic particle systems. With Genesis, you can explore the captivating world of particle behavior, experiment with various simulation parameters, and witness the birth, evolution, and interplay of particles.
A standalone executable file for Particle Life, a captivating simulation that brings particles to life! You can download the executable file by clicking here.
- Simulate multiple particle groups with of colors.
- Apply forces and rules between particle groups to observe emergent behaviors.
- Adjustable drag to control resistance to deformation.
- Zoom in and out with the mouse wheel and move the camera with arrow keys.
- Interactive sliders to dynamically control simulation parameters.
- Toggle visibility of force lines between particles.
- Randomize forces applied to particle groups for spontaneous variations.
To run the project, make sure your system meets the following minimum requirements:
- Operating System: Windows, macOS, or Linux
- Compiler: Any C++ compiler that supports C++11 or later
- RAM: At least 2GB of RAM
- Storage: Sufficient storage to store the source code and any additional libraries
- Graphics Card: A graphics card that supports OpenGL 3.3 or later
- Screen Resolution: At least 1280x720 pixels
Please note that these are general recommendations, and the actual system requirements may vary depending on the specific compiler, libraries, and operating system you are using.
-
Clone the repository:
git clone https://github.com/your-username/genesis-particle-life-simulator.git
-
Install the raylib framework by following the instructions in the raylib GitHub repository.
-
Build and run the simulator using a C++ compiler and the raylib library.
-
Launch the simulator.
-
Adjust the sliders to modify the forces and parameters of each particle group.
-
Interact with the simulation using the following controls:
- Arrow keys: Move the camera in different directions.
- Mouse wheel: Zoom in and out.
- R key: Reset the camera position.
- Quit button: Exit the simulation.
- Show Lines button: Toggle the visibility of force lines between particles.
- Randomize button: Randomize the forces applied to particle groups.
-
Observe the captivating behaviors and interactions of the particles as the simulation progresses.
Here are some examples of the captivating particle behaviors you can observe with Genesis:
Genesis utilizes the powerful raylib framework for graphics and input handling. Special thanks to the developers of raylib for providing such a versatile and efficient library.
This project is licensed under the MIT License.
Feel free to contribute to the project by submitting bug reports, feature requests, or pull requests.