isostate Project page

Plan A Scene

Plan the story before writing YAML. A good isostate scene is not a pile of objects; it is a sequence where each stop explains one thing.

The Storyboard

Use this structure for every new scene:

Scene StopReader Should LearnVisual ChangeVerification
initialWhat space are we looking at?Floor, labels, first stable objectsFirst scene has full elements snapshot
contextWhat else matters?Add supporting assets or zonesNew ids appear under add
relationshipWhat connects to what?Add connections, routes, roads, or arrowsConnections use from/to or whole-cell route
changeWhat moves or changes?Update positions, styles, camera, or ambient stateOnly changed fields appear under update
finishWhat is the final takeaway?Remove obsolete objects, settle camera, show labelEndpoint connections are removed explicitly
flowchart TD
  Story[Write one-sentence story] --> Stops[Split into scene stops]
  Stops --> Assets[List required visual assets]
  Assets --> Mode{Choose authoring mode}
  Mode --> Editor[Place and adjust in editor]
  Mode --> YAML[Write YAML directly]
  Mode --> AI[Ask AI for a draft]
  Editor --> Review[Review YAML diff]
  YAML --> Review
  AI --> Review
  Review --> Validate[Validate]
  Validate --> Iterate[Iterate until the visual story is clear]

Decide What Belongs In The Scene

Keep each object useful. Add an element only when it helps the reader understand the current step or a later transition.

Use:

  • external assets for recognizable things
  • asset: text for labels
  • primitive assets for zones and underlays
  • connections for roads, arrows, and flow
  • camera metadata when attention should narrow or reset

Avoid:

  • decorative objects that never participate in the story
  • one giant SVG containing many independent objects
  • long arrow SVG assets instead of first-class connections
  • scene stops that change too many unrelated things at once

Choose The Authoring Mode

ModeStart WithReview
Editora minimal YAML document and asset manifestsexported YAML and visual placement
Manual YAMLthe storyboard tablevalidation diagnostics and rendered page
AI-assistedthe storyboard plus asset catalog rulesevery id, layer, route, and anchor

The authoring mode is not part of the runtime contract. The YAML is the source of truth.

Convert The Plan To YAML

First scene:

scenes:
  - id: initial
    elements:
      - id: api
        asset: api-server
        at: [2, 2]

Later scene:

  - id: relationship
    add:
      connections:
        - id: api-to-db
          from:
            element: api
          to:
            element: database
          end: arrow

Keep scene ids stable and descriptive. The order of scenes is the timeline; do not author progress values.

Next: