Skip to main content

Crate ringkernel_wavesim

Crate ringkernel_wavesim 

Source
Expand description

§RingKernel WaveSim

Interactive 2D acoustic wave propagation showcase demonstrating RingKernel’s GPU-native actor model.

Each cell in a 2D grid is a persistent kernel actor that communicates with neighbors via K2K messaging to propagate pressure waves using the FDTD (Finite-Difference Time-Domain) method.

§Features

  • Real-time acoustic wave simulation
  • Click-to-inject impulse interaction
  • Adjustable speed of sound
  • Configurable grid size
  • CPU/GPU backend toggle
  • Boundary reflection and absorption

§Run

cargo run -p ringkernel-wavesim --bin wavesim

Re-exports§

pub use gui::WaveSimApp;
pub use simulation::AcousticParams;
pub use simulation::CellState;
pub use simulation::Direction;
pub use simulation::SimulationGrid;

Modules§

gui
Iced GUI for the wave simulation.
simulation
Simulation core for 2D acoustic wave propagation.