Skip to content
@petrilabs

petri labs

Interactive research platform for emergent systems.
petri labs



Each playground is a real-time simulation you can probe, measure, and experiment on -- directly in the browser. No behavior is hand-coded. Everything you observe emerged from simple local rules and selection pressure.



petri-labs.org License: MIT


Playgrounds

Playground Domain Status Description
01 origin origin.petri-labs.org live Artificial life. Neural network organisms evolve, hunt, and speciate through natural selection.
02 swarm swarm.petri-labs.org planned Collective intelligence. Flocking, foraging, and quorum sensing from local interaction rules.
03 morph morph.petri-labs.org planned Pattern formation. Reaction-diffusion systems produce spots, stripes, and spirals.
04 market market.petri-labs.org planned Emergent economics. Trading agents generate bubbles, crashes, and fat-tailed distributions.
05 social social.petri-labs.org planned Opinion dynamics. Agents on networks polarize, form echo chambers, or reach consensus.

Approach

Every playground follows the same structure:

  • Sandbox -- Adjust parameters in real time and observe what happens.
  • Challenges -- Structured puzzles with defined win conditions.
  • Lab -- State a hypothesis in plain language. The system designs and runs replicated experiments, then reports effect sizes and p-values.

Stack

Rust              Simulation engines compiled to WebAssembly
TypeScript        UI, rendering, mode routing (no framework)
Canvas2D          Real-time visualization with LOD and particle effects
Cloudflare        Edge deployment, API proxy, DNS

Nothing to install. No accounts. Open a URL and the simulation is running.


Built by Baris Sozudogru

Popular repositories Loading

  1. .github .github Public

    petri labs organization profile

Repositories

Showing 1 of 1 repositories

Top languages

Loading…

Most used topics

Loading…