A 1500×1500 HTML proof-of-concept that demonstrates a multi-stage production economy where value is created by time + transformation + capacity constraints, not by collecting a single “currency” number.

It models a small factory line:

Ore Silo → Smelter → Ingot Bin → Fabricator → Part Crate

…and makes the flow visible with animated material tokens moving along the line.


What it proves

1) Multi-stage value creation (not “collect coin”)

Ore is useless until processed:

This forces the player to think in chains, not piles.

2) Two machines can run concurrently

The Smelter and Fabricator each have their own queue and can operate at the same time, as long as their gating conditions are satisfied.

This is the critical improvement over “one global queue”: the player now experiences real production behavior:

3) Buffers are real constraints (bottlenecks are visible)

Each stage has hard buffer caps:

This creates authentic bottlenecks:

These stalls are not hidden—both the ledger and the output panel report them.

4) Atomic production completion (no partial outputs)

Each job progresses over time and completes atomically:


System mechanics (exact rules)

Recipes

Smelt

Fabricate

Execution model


UI architecture (what each area is for)

Refinery Ledger (top)

A transparent ledger showing:

This is the “truth screen” for debugging bottlenecks.

Input Buffers (left)

Manual controls to add/remove Ore so you can intentionally:

Output Buffers (right)

Buffers + dumps that let you intentionally:

Factory View (center)

The visual proof:

Machine-local controls

“+ Smelt” sits near the Smelter, and “+ Fabricate” sits near the Fabricator.
This makes actions feel local to the machine instead of abstract UI buttons “somewhere else.”


How to “demo” it in 15 seconds

  1. Click + Smelt a few times → Ingots start accumulating.
  2. Click + Fabricate → Parts start appearing while Smelter continues feeding.
  3. Keep Fabricating until Parts fill → Fabricator stalls (OUTPUT BLOCKED).
  4. Keep Smelting until Ingots fill → Smelter stalls (OUTPUT BLOCKED).
  5. Dump Parts or Ingots → the appropriate machine resumes immediately.

That’s the full economic proof: flow, bottlenecks, and staged transformation.