Simulation Parameters

System State: HATCHING

Escape Track Sandbox

⚡ DEMO ACTIVE - Tap anywhere to resume

Live Activity Metrics

Eggs Hatched 0
Successful Escapes 0
Rooster Catches 0
Win Rate 0%

Real-time Activity Log

  • System ready. Click the egg to begin!

Simulation Overview

Hatch & Dash! is a streamlined, interactive sandbox demonstrating basic 2D rendering logistics and state-machine transitions.

The application models two clear phases: an accumulation phase (clicking to hatch the egg) and a continuous-input phase (holding the input to outrun a pursuing predator). By tweaking the speeds of both entities, you can visualize how velocity variables immediately alter success margins.

How to Use

  1. Phase 1 (The Hatch): Rapidly click or tap anywhere on the canvas to crack the egg. Once progress reaches 100%, the run begins.
  2. Phase 2 (The Sprint): Press and hold your mouse (or hold your finger on the screen) to make the chick sprint toward the barn. If you let go, the chick slows down.
  3. Parameter Control: Use the sliders on the left panel to increase the Rooster's pursuit speed or the Chick's maximum sprint power.

Technical Details

This SPA leverages native, zero-dependency browser APIs to guarantee cross-device performance and stability:

Future Directions

To deepen the complexity of the sandbox, the following additions could be modeled into the physics engine: