← Back

Shorelark Expanded

August 2025 - Present · Senior Project at Sonoma State University

Rust · JavaScript · HTML/CSS

Shorelark Expanded is a browser-based evolution simulator built in Rust and WebAssembly. This project aims to build on an existing evolution simulation and modifies and adds to the selection pressures in a variety of different ways to visualize the impact on the population. Selection pressures can be food constraints, hunger constraints, or a predatorial species.

Shorelark Expanded simulation demo
Shorelark Expanded running in the browser.
Batch training trends across Shorelark runs

Aggregate trends from 500 runs × 300 generations, including fitness trajectories, distribution bands, and prey-predator tradeoffs.

  • Built feed-forward neural-network control and genetic algorithm updates in Rust, integrated with a JavaScript UI for real-time training controls and visual debugging.
  • Added predator-prey co-evolution to study adaptation pressure across competing populations.
  • Exposed 7 per-generation metrics in the live stats panel (generation, prey min/max/avg/deaths, predator min/max/avg).
  • Ran batch experiments (500 runs, 300 generations) to quantify convergence and stability under fixed parameters.
  • Measured extinction behavior across runs; 122/500 runs (24.4%) ended in complete prey die-out under current settings.