/community/endless scene
innernet
docsskillscommunitycompanydeveloperssecurityprivacytermscontact

a skill by josazar, brought here by kt

endless scene

paste this link into your ai. it will know what to do.

/skills/josazar-endless-scene

Endless cinematic travel scenes in Spline 3D through the Spline MCP, built from code and sprites - an infinite road under a procedural car, an endless ride along a path through hills, a chase camera on a rider, with layered parallax, a painted horizon card, 2.5D cut-out sprites and speed effects (speed lines, streaks, camera push, grain). Use whenever the user wants an infinite or looping road, highway, path or track, a treadmill world, a driving, riding, running or flying shot that never ends, a "feeling of speed", a vehicle or character showcase in motion, or reports the typical defects - a

kindskill
last tended2026-12-04
written byjosazar
sourcegithub.com/josazar/skill-endless-scene
kept currentwith its source · last read 2026-12-04
brought here bykt
reuseMIT
yours?it stays under your name. to change it or take it down, write to connect@innernet.live
reading5 min

Endless cinematic scenes in Spline

The camera and the hero (car, rider) stay put; the world flows past them on a loop. What sells the speed is that the layers move at different rates: near details strobe past, the middle distance sweeps across, and the far landmark barely moves. This skill builds that from run_code geometry, an HTML-content document that drives the loop, and image sprites on cards, in an editable Spline file.

Tool names are the Spline MCP's (run_code, get_scene_mcp, edit_html_content...; clients may prefix them, e.g. 3d_run_code). Load the MCP's guides once before the first run_code: load_skill "authoring-guide", "authoring-guide-2", "authoring-guide-3". Scripts need Node.js 18+ and no packages.

Pick the sub-skills

Read only the ones the scene needs. Each one is a SUBSKILL.md in subskills/<name>/ with its own scripts.

Sub-skillBuildsRead when
[road](subskills/road/SUBSKILL.md)a pool of street sections on one periodic curve, a vehicle anchor, a tracking cameraa car, a highway, a city street, a viaduct
[vehicle](subskills/vehicle/SUBSKILL.md)a procedural car from a reference sheet (editable meshes, metal and glass shaders), or a carriage, cart or wagon built part by part, on the road's vehicle anchorthe hero is a car or a carriage: build it before the road
[animal](subskills/animal/SUBSKILL.md)a four-legged GLB (horse, pony, deer) rigged in Blender, walking, trotting and galloping at the ride's speed with no hoof slidingthe hero is an animal, or animals pull the vehicle
[ride](subskills/ride/SUBSKILL.md)a treadmill landscape: road strip, side banks, dressing parented to scrolling pieces, a speed tablea rider, a runner, a path through hills or a meadow, any non-street world
[horizon](subskills/horizon/SUBSKILL.md)far layers: a panorama or sky texture on a card, a landmark, fog that ends in the card's colouranything far: skyline, mountains, sky, moon
[sprites](subskills/sprites/SUBSKILL.md)2.5D cut-outs from generated images: keyed sheets, atlases, frame loops, puppet rigs, turned viewsa character, trees or props as images instead of meshes
[speed-fx](subskills/speed-fx/SUBSKILL.md)speed lines, near-prop streaks, speed particles, camera push, cuts, shake, film grain, tail-light flarethe user asks for more speed, energy, a cinematic feel

Shared depth: [references/hero.md](references/hero.md) (where the hero comes from: sprites, generated images or 3D, a rigged model, code; prompts; Spline's generators), [references/layers.md](references/layers.md) (planning the three speeds), [references/images.md](references/images.md) (getting images into Spline), [references/traps.md](references/traps.md) (DSL and bridge traps met while building these scenes).

Build order

  1. 1Read the file (get_scene_mcp, get_html_content): units, existing camera, lights, document. Bind every call to the file id. Merge into an existing document in its own scope; never drop its behaviours.
  2. 2Plan the layers on paper with [references/layers.md](references/layers.md): which objects are near (pool pieces), mid (pool pieces, larger), far (cards that follow the heading only), and the fog that hides the pool's front edge. Decide the camera first; everything else is planned from it.
  3. 3Settle the hero with the user ([references/hero.md](references/hero.md)): sprites from a generated sheet, an image or a 3D model generated in Spline, their own rigged model, or code. Recommend one for the camera and the style, give them the prompt to run, and never start a paid generation without their yes.
  4. 4Write scene.json (start from [scripts/example-scene.json](scripts/example-scene.json)): the shared clock, camera, fog, then a block per part (ride, horizon, sprites, speedFx). Then node scripts/compose.mjs scene.json out/ checks every number and writes numbered run_code recipes and one scene.html. The road and the vehicle have their own emitters; add the other parts to a road scene with --merge <road ride.html>.
  5. 5Build in order: the hero first (vehicle, or the stage that holds a rider's sprites), then the pool (road or ride), the far layers, the sprites, speed-fx last. One recipe per run_code call; check each result's object count. Then set the one document, which drives everything from one clock (rule 3); later changes are minimal edits, never the whole document again.
  6. 6Get the images in: each Tex <Name> slot plane waits for the user to drop its image ([references/images.md](references/images.md)); until then the document shows stand-ins or hides those sprites.
  7. 7Verify in Play (below) after each layer, from the shot camera, at the delivery aspect ratio.

Shared rules (each one cost a round trip)

  1. 1Fixed pool, no creation per frame. Pieces recycle behind the camera and re-enter beyond the fog. The fog's far distance must be shorter than the pool's visible front, or the re-entry shows as a pop.
  2. 2At least 3 pieces per scrolling strip (banks, verges, walls): with 2, the far edge swings by a whole piece.
  3. 3One clock: integrate distance once. Speed comes from a table (cruise, rush...), distance is integrated from it, and every shader and animation reads distance (or ride time = distance / speed), not wall time. Frozen captures then match, and a rush speeds up the road, the grass and the particles together.
  4. 4Everything a piece carries is parented to it, by object handle. A parent given by name reparents nothing, silently; read the tree back after the build and check that the dressing scrolls.
  5. 5Near speed comes from rhythm: lane dashes, bollards, shadows, grass tufts, flowers at the verge. Big rounded masses near the road read as static scenery: keep near dressing low and repeated.
  6. 6Far layers never travel: they turn with the camera's heading and drift a bounded amount sideways. Anything that touches the ground in view (a tower foot, a bridge end) belongs to a moving piece, not to a card.
  7. 7Custom TSL materials that move vertices assign positionPrevious, or the renderer's temporal AA ghosts them as soon as anything moves.
  8. 8When the camera's range grows (orbit, cuts, side shots), re-check every card's coverage: yaw + half horizontal fov < atan(half width / distance).

Verify in Play

Run the offline checks: node scripts/check.mjs in this folder runs every sub-skill's own check and then composes the example scene and runs its recipes and document against stand-ins of the DSL and the renderer (names, parenting, winding, recycling, materials, a frozen clock); node scripts/check_scene.mjs scene.json does the same for yours. They cannot judge a look. Freeze a capture with window.KIT_FREEZE = 9 (seconds into the speed table). Then watch one full pool cycle from the shot camera: a recycle at the far edge, both bends, the closest approach of each landmark, a painted dash through a handoff. Take a second capture before calling something broken: a capture right after an edit is mid-load. Remove every debug change (tints, frozen time, moved camera) before handing the file back.


keep it where your ai can reach it.

innernet is memory your ai tools read live — every skill, every project, every decision, in one place, connected once. save this skill to yours, or publish one of your own as a link like this.

save it to your innernetsee every skill