Communitygithub.com

Cinematic HTML Slides

Direct a browser presentation as one continuous real-time film: spatial scenes, camera moves, and kinetic type, pausing only when the viewer has to act.

What is Cinematic HTML Slides?

Drops the page-by-page slideshow. The viewport is one stage, and beats, cameras, and type advance on a single timeline unless a choice needs a human.

Works with~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/ai-freer/cinematic-html-slides/tree/HEAD

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

What does Cinematic HTML Slides do?

Direct a continuous real-time film. Treat the full browser viewport as one living visual stage carrying an uninterrupted story from opening to closing. Discard the page-by-page slideshow model and build living worlds driven by multi-second unfolding beats on a single continuous timeline.

Continuous flow is ON by default. Once playback starts, every beat, camera move, kinetic typography sequence, and scene transition progresses hands-free across scene boundaries. Pause automatic progression only when viewer participation determines what happens next (an interactive visual model, draggable comparison, or narrative choice), when the viewer pauses manually, or when the user explicitly requests a live-speaker clicker mode.

Keep static screens near zero. Every moment on screen carries spatial depth, 3D perspective, camera choreography, living visuals, or kinetic typography. Reading happens inside the living flow, with words settling legibly while the surrounding scene and camera continue breathing and advancing. Reserve near-stillness for rare, intentional dramatic contrast.

1. Storyboard a continuous flow sheet before coding

Seamless motion fails when bolted onto a flat step-by-step outline. Establish narrative and spatial continuity before writing code.

  • Dissolve disconnected outlines into one arc. Rework plain numbered sequences or loose bullet lists into continuous cause-and-effect arcs, overview-to-detail spatial zooms, single-subject evolutions, or anchored comparisons.
  • Derive a story-native visual world. Draw 3D environments, surfaces, lighting, camera language, and transitions from the subject's own domain. A systems story lives in live topologies, pipelines, and spatial frames. A financial review lives in sculpted axes, curves, and ledgers. An architectural or historical piece lives in terrain, perspective corridors, light, and scale.
  • Script acts, living scenes, and multi-second beats. Structure the timeline into living scenes where each scene unfolds across multiple beats, typically 3 to 12 seconds of continuous visible development per beat. For every beat, specify what moves or transforms continuously (camera path, 3D geometry, kinetic text), how long readable copy stays legible before flowing on, how outgoing momentum feeds into the next scene, and which rare beats pause for viewer participation. Align on this flow sheet before building whenever restructuring changes the user's argument or introduces interactive visual models.
  • Run a motif fit check. Translate each planned transition into plain narration ("fold this chart into a boat entering a rising sea", "push through the gateway into the courtyard"). Replace any effect that feels foreign to the topic with a domain-native camera move or a clean dissolve.

2. Keep every scene alive with spatial and kinetic motion

Compose the movement inside every beat as richly as the cuts between scenes. A route can extend across terrain while its label settles into view and the camera tracks ahead to the next landmark. Kinetic text can carry a reflective stretch while anchor words remain steady and surrounding phrases reshape in space.

  • Continuous camera and 3D spatial presence. Give the viewport real lens life through slow dollies, climbs, orbits, perspective shifts, depth parallax, and gentle breathing drift plus subtle pointer parallax so every frame holds spatial depth.
  • Multi-second unfolding narrative beats. Make each beat a continuous visual transformation spanning several seconds (rising water pulling an anchor chain taut, cascading scale jumps, morphing diagrams, shifting daylight, or evolving structures). Avoid quick 0.5-second card entrances followed by dead waiting.
  • Kinetic typography integrated with space. Choreograph words with per-glyph or per-word rises, blurs, tracking shifts, live rewrites, or 3D spatial placement. Keep active words crisp, high-contrast, and steady during their reading window while the world and camera keep moving smoothly around them. Omit static bullet-point cards.
  • Materiality, lighting, and motion-coupled sound. Give surfaces tactile weight through cast shadows, atmospheric depth haze, reflections, and procedural shaders native to the subject. When Web Audio is present, drive continuous ambient layers (wind, tension, room tone) from live camera velocity or scene intensity and fire discrete foley cues at physical contacts.

Optional interactive visual models

Most of the story plays hands-free. During storyboarding, propose an in-scene interactive visual model when the content meets at least one of three triggers.

  1. The topic itself calls for hands-on interactivity to feel dynamic and concrete.
  2. The argument relies on comparative demonstration across scenarios, before-and-after states, or changed assumptions.
  3. Involving the audience in direct manipulation uncovers information, trade-offs, or intermediate states that a static frame leaves hidden.

Keep interactive scenes alive even before the viewer touches a control (for example, letting a split divider sweep gently across both scenarios to reveal that it is draggable). Pick the pattern that matches the narrative job.

Interactive patternWhen it fitsMotion and state behavior
Repeatable parameter experimentHypothesis testing or showing how changing one input alters an outcomePair 1–3 inputs with an explicit Run action and a Reset button that restores an identical starting state. Drive the animated diagram, live curves, and readouts from one shared simulation state so the viewer can predict, run once, reset, change one condition, and re-run.
Named presets with continuous explorationScales, timelines, budgets, or multi-regime subjects where intermediate states carry meaningBind named preset buttons and a continuous slider to one underlying variable. Presets give crisp narrative landmarks while the slider lets viewers explore everything between them. Update numeric readouts immediately on input and ease the rendered visual state so layered views crossfade smoothly.
Anchored scenario comparisonBefore/after workflows, bottleneck removal, or A/B trade-offsKeep reference endpoints, axes, or framing fixed while toggling scenarios or dragging a split divider so only the changing pathway, flow rate, or delta morphs.

Model integrity. Drive visuals, curves, and numeric readouts from the same underlying model or dataset. Keep reveal buttons honest by avoiding hidden multipliers or disconnected formulas, and label illustrative parameter models explicitly.

Continuous scene and beat motion · Optional interactive models

3. Couple scene handoffs in continuous momentum

An elaborate transition that lands on a motionless screen breaks cinematic flow. Sketch outgoing motion, the live midpoint, and incoming motion as one connected trajectory. Keep both outgoing and incoming scenes updating and rendering live throughout every handoff. Drive outgoing lead-out motion from exit (0 to 1) and begin incoming camera or subject motion from enter (0 to 1) before the cut completes, blending arrival momentum straight into Beat 0 with zero dead halt.

Narrative linkVisual handoff
Enter a detailGive the target region inside the outgoing scene a recognizable frame (a node, chart spike, gateway, or nested plane). Cue subtle motion inside it before pushing in, then map outgoing imagery onto the projected screen-space quad or nested plane while the incoming camera is already gliding forward into Beat 0.
Evolve one subjectKeep the core subject continuous while its geometry transforms (a chart folding into a 3D vessel, a table regrouping into a live curve, or a wireframe maturing into a lit assembly). Match the transforming element's landing position, scale, and velocity to its live state in the incoming scene so the action carries straight through impact.
Hold a reference frameKeep an axis, map orientation, horizon line, or anchor word fixed while spatial layers, eras, or scenarios evolve continuously around it so the viewer immediately sees what changed.
Occlude and sweep into a new worldUse an occlusion cue native to the story world (a passing foreground surface, sweeping water refraction, focus rack, or architectural wipe). Swap scenes near peak occlusion while the incoming world and camera are already moving, letting text settle legibly inside the ongoing motion.

Reserve elaborate full-frame transitions for major structural turns. A matched-motion cut or quiet dissolve carries momentum cleanly when the visual thread already bridges both shots. Transition mechanisms and reference implementations

4. Continuous flow, reading cadence, and viewer participation

  • Run one continuous flow by default. Start playback immediately on load (or after one clean entry click if browser audio policy requires unlocking sound) and let one continuous timeline carry the entire story across every beat and scene boundary through the ending. A scene boundary never stops to wait for a click.
  • Pace reading inside the living flow. Size each beat so viewers can comfortably read headlines, figures, and labels while the camera, 3D environment, lighting, or visual subject stays gently in motion around them. Keep active reading text crisp and spatially steady during its reading window, then transition directly into the next beat automatically.
  • Pause automatic flow only for viewer participation. Stop auto-advance when the viewer needs to interact (dragging a comparison split, steering a parameter experiment, or making a narrative choice), when the viewer pauses manually, or at the ending. On the first interaction input, suspend scheduled progression, absorb pointer and click events inside controls so manipulation never skips ahead, preserve the viewer's chosen state after release, and offer a story-native action to continue from that state (such as "Compare routes" or "Continue along this path"). Add clicker pauses between narration beats only when the user explicitly requests a live-speaker presenter mode, keeping camera drift and living scene time active throughout any wait.
  • Strongly discourage slide-deck pagination chrome. By default, omit previous/next buttons or arrows, page-turn icons, pagination dots, slide counters (such as 07 / 19), and per-slide segmented progress bars, including hover, keyboard-focus, pause overlays, and template defaults. Visible pagination pulls viewers back into a page-turning slideshow feel. Include pagination or counters only when the user explicitly asks for them, or when a counter serves an intentional diegetic role inside the story (for example, The Last Boring Slide's corner counter quietly escalating exponentially to 10^80 and ∞ before snapping back to 1).
  • Keep quiet playback controls accessible. Support keyboard shortcuts (pause/resume, step back or forward, mute, fullscreen) and touch gestures without cluttering the viewport. Resume from the exact visible instant with audio in sync. With prefers-reduced-motion, replace rapid camera moves and heavy parallax with calm, stable dissolves and gentle progression while keeping continuous hands-free flow and the same participation stops.

Example. A bend lights up on an aerial 3D map as the camera banks downward into the live street corridor, preserving map orientation straight into Beat 0 while route geometry traces ahead. At a decision fork, both branches keep flowing live and the two route labels settle crisply while a gently swaying split divider invites touch. Dragging the divider pauses auto-flow, preserves the split, and offers "Continue along this route" to resume the camera journey seamlessly. Continuous flow clock and input handling

5. Stage stack, craft, and hands-off cinema review

Choose a stage built for cinematic depth and continuous real-time motion. Treat the full browser viewport as a unified live canvas. Reach for Three.js, WebGL 2, and custom GLSL shaders whenever 3D worlds, real camera choreography, atmospheric lighting, volumetric depth, or live render-target compositing elevate the story. Pair with Canvas 2D, SVG, or GPU-accelerated kinetic typography for crisp diagrams, procedural motion graphics, and interactive visual models. Keep DOM overlays lean and choreographed so the piece stays a living film stage. Treat camera optics (depth of field, bloom, refraction, motion trails) and Web Audio cues as cohesive sensory craft. Optical effects · Sound cues

Run the hands-off cinema watch test at normal speed. Open through the normal entry point, launch once if audio unlock requires an initial gesture, and take hands off the mouse and keyboard. Watch across multiple scene transitions through the complete arc at desktop and phone sizes. A presentation fails review if any of these occur.

  • Transition-then-stall. A flashy transition lands on a scene that stops moving or waits for a click when no viewer participation (or explicit user-requested speaker mode) is needed.
  • Static card disguised with ambient particles. Boxed text or bullet lists sit frozen while decorative background dots drift behind them.
  • Decoupled dead seam. Outgoing motion freezes into a still frame before switching, or incoming motion starts from zero velocity after the transition finishes.
  • Unsolicited pagination chrome. Prev/next arrows, page-turn buttons, pagination dots, 07 / 19 counters, or segmented slide bars appear on desktop or phone (including hover, keyboard focus, pause, or tap overlays) when the user neither requested them nor gave them a deliberate narrative role.

Verify participation and exact handoff frames. Exercise manual pause/resume and every interactive model (presets, sliders, drags, run/reset cycles, and resuming flow without jumps, replayed beats, or lost state). Using deterministic debug hooks such as seek(sceneId, beatIndex, seconds) and trans(sceneId, progress), inspect departure, transition midpoint, arrival, and mid-beat frames in the browser to confirm that focal anchors and camera momentum carry cleanly through and past every seam. Live composition and frame inspection

Related Skills