Crate par_particle_life

Crate par_particle_life 

Source
Expand description

§Par Particle Life

A GPU-accelerated particle life simulation library in Rust.

§Features

  • GPU Rendering: Uses wgpu for high-performance particle simulation
  • Interactive UI: egui-based controls for real-time parameter adjustment
  • Multiple Simulations: Particle Life and Game of Life

§Example

use par_particle_life::app::App;

fn main() -> anyhow::Result<()> {
    App::run(false)
}

Re-exports§

pub use app::App;
pub use simulation::BoundaryMode;
pub use simulation::InteractionMatrix;
pub use simulation::Particle;
pub use simulation::RadiusMatrix;
pub use simulation::SimulationConfig;

Modules§

app
Application module containing the main app state and entry point.
generators
Procedural generators for rules, colors, and positions.
renderer
Rendering module for GPU particle rendering.
simulation
Simulation module containing core physics and data structures.
ui
User interface module using egui.
utils
Utility functions and helpers.
video_recorder
Video recording module using ffmpeg for encoding.