A little story, ready to play
Loading the episode library…
A little garden
A little story is on its way.
Episode timeline
Scenes and sound, in one place.
Character studio One shared performance system for every character
Expressions, eye direction, gestures, and grounded movement work across all eleven named SVG characters. Dialogue drives speaking mouths from the audio. Read the playhead, change a pose, and save a cue into the episode JSON.
Scene inspector Visibility controls drawing. Activity controls simulation.
| Object / format | IsActive | Visible | World X / Y | Active time |
|---|
Waiting objects stay still. Activated objects keep simulating outside the viewport.
Scene audio mixer Independent music, voice, and effect clips
Each clip belongs to a scene and has its own start time, source offset, duration, volume, fades, and loop setting. Track mute buttons are preview controls. Edit JSON to save clip changes. The storyteller and character voices are AI-generated with OpenAI. Music automatically becomes quieter under speech.
Rive source Independent artboards, driven by the scene clock
SVG and Rive share world coordinates, layers, activation, and transport. A Rive artboard is one draw item; attachments use declared actor-local sockets. The delivery example uses Rive’s Truck artboard with its original pink backdrop. Use an artboard without a painted background for a transparent character. A failed load displays a labeled stand-in.
Choose Special delivery for an SVG + Rive episode.
Runtime: canvas-advanced 2.44.2, as in Little Garden. Each Rive actor has its own instance. Local .riv previews are temporary; use a hosted asset URL in JSON for a portable episode.
SVG assets The original gallery paths, loaded directly
Gallery characters are fetched from their existing SVG URLs and retain their original paths. Native SVG animations follow each entity’s active time, including while offscreen. Pause freezes their clocks.
Episode source Edit JSON → apply → play. No episode build.
An episode declares assets and an ordered list of scenes. Each scene owns its place, detailed SVG background, duration, transition, audio clips, camera track, named characters, performance cues, and captions. World positions can be negative. Validation and asset loading complete before the current episode is replaced.
SVG assets accept a URL or inline SVG markup. Rive assets accept a .riv URL.
JSON guide Assets, viewport, scenes, and attachments
Start with one of the premade episodes above. All JSON fields use camelCase. Named characters use displayName. An SVG asset can declare character using its gallery species ID to enable the shared rig. Entity performance cues start at active time zero and can set expression, gaze, gesture, and motion. A voice clip can use speakerId for an audio-driven speaking mouth. The logical viewport is 960 × 540. A scene’s backgroundAssetId references an SVG backdrop fitted to the viewport. Its location names the place. Scene durations use multiples of 1/60 second. Each scene starts with fresh entity state; leaving the camera never resets an entity.
{
"id": "boop", "format": "svg",
"url": "/svg/bunny/bunny-moving-transparent.svg",
"box": { "x": -140, "y": -280, "width": 280, "height": 280 },
"sockets": { "hand": { "x": 56, "y": -85 } }
}
Transitions use the last part of the outgoing scene; they do not add to the episode length. The next scene’s first pose appears during the transition, then its clock starts at the boundary. The last scene uses a zero-duration cut.
"transition": { "type": "dissolve", "duration": 1.5 },
"audio": [
{ "id": "music", "name": "Garden music", "kind": "music",
"url": "/audio/low-stim/goodnight-garden.mp3",
"start": 0, "duration": 20, "volume": 0.3, "loop": true,
"fadeIn": 1, "fadeOut": 1.5 }
]Transition types: cut, dissolve, fade, wipe-left, wipe-right. A fade can declare a hex color. Audio kinds: music, voice, effects. Add as many clips as the scene needs (up to 24); overlapping clips mix together. Use offset to start within a source file, and transcript for spoken lines.
For a hardcoded SVG, replace url with svg:
{
"id": "circle", "format": "svg",
"svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 100 100\"><circle cx=\"50\" cy=\"50\" r=\"40\" fill=\"#a8bd97\"/></svg>",
"box": { "x": -50, "y": -100, "width": 100, "height": 100 }
}
SVGs support vector shapes, local gradients and references, and numeric SMIL timing. External resources, CSS, scripts, and event-triggered animation are rejected. Cross-origin asset servers must allow CORS. Use root-relative URLs for files hosted on Bebe TV.
Entities reference an assetId, format, layer, zIndex, world x/y, and local bounds. Behaviors are still, linear, or path. isActive defaults to false; activationMode can be viewportOnce or manual. Attachments specify ownerId, a named socket, and partOrder. An SVG or Rive asset is atomic; split artwork into separate entities when you need finer occlusion.
Limits: 100 assets, 30 scenes, 150 entities per scene, 8 Rive actors per scene, 300 seconds per scene, and 10 minutes per episode. Episode files must be under 2 MB.