Scene
Peg field
A fixed opening guarded by concentric crowns of pegs, each rotated against the previous one. There is no straight corridor to the exit.
Open Peg field in the editor
Parameters
The same controls as the editor, with the same range. The default is what the example page uses.
| Parameter | Range | Default |
|---|---|---|
| Peg crowns | 1 – 3 | 2 |
| Pegs per crown | 4 – 16 | 9 |
| Gap | 15 – 120 | 45 |
| Balls | 1 – 8 | 2 |
| Gravity | 0 – 40 | 12 |
| Bounciness | 0 – 1 | 0.94 |
| Initial speed | 0 – 30 | 5 |
| Growth per collision | 0 – 0.2 | 0 |
How it usually ends
Measured by the engine with the default configuration over a fixed sample of seeds. No number here is an estimate.
- Seeds in the sample
- 40
- Escapes
- 20%
- Settles
- 55%
- Times out
- 25%
- Collisions (median)
- 106
- Duration (median)
- 30.6 s
- Climax (median position)
- 8%
- The fraction of the video where event density peaks. Close to 100% means the best moment is at the end.
Seeds that end well
No seed in the sample reached the search threshold. These are still the best ones.
- seed1792738score 68 out of 100118 collisions27 ssettledOpen seed 1792738 in the editor
- seed3049486score 65 out of 100123 collisions30.1 ssettledOpen seed 3049486 in the editor
- seed3154215score 54 out of 100109 collisions26.5 ssettledOpen seed 3154215 in the editor
- seed1478551score 48 out of 100117 collisions29.1 ssettledOpen seed 1478551 in the editor
- seed2421112score 46 out of 10012 collisions6.4 sescapeOpen seed 2421112 in the editor
Frequently asked questions
How do I make a Peg field video?
Open the scene in the editor, adjust the parameters, try a few seeds and export to MP4. Rendering happens in your browser and costs nothing.
Why does the same seed always give the same video?
The simulation is deterministic: fixed-step physics and seeded random numbers. The same seed with the same parameters reproduces the same video on any machine.
How long is a Peg field video?
The video ends when the scene ends. The median duration measured in the sample is in the outcomes section, and the seed search shows each candidate's duration before rendering.
Can I use the video on TikTok, YouTube and Instagram?
Yes. The export is a vertical video with audio, ready for Shorts, Reels and TikTok. On the free plan it carries a discreet watermark.
How do I pick a seed that ends well?
Use the editor's seed search: it simulates dozens of variations without drawing and ranks the ones with a late climax. The seeds on this page came from the same heuristic.
Make your own variation
Open the scene in the editor with one of the seeds above, or let the search find another.
Open Peg field in the editor