Four particle-based spatial stochastic simulations wrapped as process-bigraph Processes using the Smoldyn simulator. Each configuration demonstrates a distinct reaction-diffusion scenario with interactive particle visualization.
Fast vs. slow Brownian motion in a reflective box
Two molecular species diffuse in a 2D domain with reflective boundaries. Species A (red) has a high diffusion coefficient (D=3.0) while species B (blue) diffuses slowly (D=0.3). Starting from a concentrated cluster in the center, this demonstrates how diffusion rate governs spatial spreading. No reactions occur -- total molecule counts are conserved.
Spatial oscillations in a stochastic predator-prey system
A classic predator-prey model with three reactions: prey reproduction (A -> A + A), predation (A + B -> B + B), and predator death (B -> 0). In a well-mixed system these produce sustained oscillations; in this spatial version, stochastic fluctuations and diffusion create complex spatiotemporal patterns. Prey (green) and predators (red) chase each other across the domain.
Spatial enzyme-substrate binding and product formation
An enzyme (E, purple) binds substrate (S, blue) to form a complex (ES, orange), which then releases product (P, green). The reversible binding step (E + S <-> ES) with forward rate k_f and backward rate k_b, followed by irreversible catalysis (ES -> E + P), produces classic Michaelis-Menten kinetics. In this spatial model, diffusion-limited encounters between enzyme and substrate create local depletion zones.
Three-species spatial competition with rotating dominance
A spatial rock-paper-scissors system where three species compete cyclically: Rock (red) beats Scissors (blue), Scissors beats Paper (green), and Paper beats Rock. Each species reproduces slowly and is regulated by density-dependent crowding death. Starting from spatially segregated populations (thirds of the domain), the species mix through diffusion and competition. Periodic boundaries allow populations to chase each other in cycles. This models biodiversity maintenance through intransitive competition -- a key mechanism in microbial ecology.