Imported from nexu-io/open-design (
plugins/_official/examples/motion-future/SKILL.md). Install upstream withnpx skills add nexu-io/open-design --skill motion-future. Copyright stays with the author.
The Future Is Already Here
A 20-second electric-blue tech reel, rebuilt from the viral original: 3D cubes, a word tunnel, liquid chrome type, a FUTURE.EXE desktop, a countdown, glass objects and a chrome FUTURE hero, cut to 120 BPM. example.html is the finished reference — start from it.
The reference timing and beat map describe the demo. Adapt them to the user's requested duration and content; do not force the reference duration or music.
Source
A remake of a viral post by Douyin: https://www.douyin.com/video/7690393045783346918 (6,439 likes · 2,164 saves · 1,285 shares on Douyin (as of 2026-10-12)). The composition is rebuilt in code from the published piece; the soundtrack is original.
Reference files
Copy example.html, assets/gsap.min.js, assets/three-addons.js, assets/unbounded-black-glyphs.js, assets/jetbrains-mono-OFL.txt, assets/jetbrains-mono-subset.ttf, assets/three.min.js.gz, assets/unbounded-OFL.txt, assets/unbounded-subset.ttf into the composition, preserving the assets/ path.
Copy the demo soundtrack only if selected under the Sound guidance below.
Font licenses travel with their fonts. Use these frozen local bytes; no runtime
script or font CDN is needed.
The gallery loads assets/three.min.js. The frozen reference package carries
the same Three.js bytes compressed as assets/three.min.js.gz to fit the
per-file budget. Before rendering, decompress it into the composition:
gzip -dc "<reference-root>/assets/three.min.js.gz" > "<composition-root>/assets/three.min.js".
Both placeholders are the actual reference and composition directories in this
task. Keep the HTML script URL pointing to the decompressed .js file.
Art direction
- Electric blue, black, white and chrome; heavy display type Unbounded Black with JetBrains Mono for the HUD (both SIL OFL, bundled).
- Three.js for the 3D layer (
#gl) under a 2D overlay canvas (#ui). All scenes are readable code insideexample.html. assets/three-addons.jsholds the three.js add-ons the film needs (RoomEnvironment, FontLoader, TextGeometry), unbundled.assets/unbounded-black-glyphs.jsholds Unbounded Black outlines for every 3D word: A–Z, a–z, 0–9 and common punctuation.- The original is a 62s Chinese post; this reference is a 20s English highlight cut.
Beat map (20s)
- 0–1.5 cubes 1→4→64 · 1.5–2.5 SIGNAL · 2.5–4.0 retina + 97.2% · 4.0–5.0 word tunnel WAKE UP · 5.0–6.0 THE FUTURE · 6.0–6.5 liquid chrome FUTURE
- 6.5–7.5 AL READY / HERE · 7.5–9.0 FUTURE.EXE desktop · 9.0–9.5 LOADING 99% · 9.5–11.0 3·2·1 · 11.0–13.0 PRISM / BOLT / PLANET / MIND
- 13.0–14.0 ring vortex · 14.0–14.5 checker grid · 14.5–18.5 chrome FUTURE hero · 18.5–20.0 glitch → END OF TRANSMISSION
Adapting the template
- Change the copy in
CFGat the top ofexample.html:brand,headline,hero(the chrome 3D word, scaled to fit when longer than FUTURE),heroLine,date,signal,wake,awaken,tags,objectsandendLine. - Keep hard cuts on the 120 BPM grid, the scene order in
EDITand the chrome hero. Scene code lives in the same file, grouped by scene. - 3D words support Latin letters, digits and common punctuation; the bundled display font covers Latin only.
How the reference is built
- One composition root with canvas layers. A single
render(t)draws the whole frame from the master timeline timet; constants at the top hold copy, palette and timing so the film can be re-themed in one place. - Every visible value is a pure function of
t(eases, springs or keyframes evaluated from time). No state carries between frames.
Preview and video export
Keep the stage edge to edge in both gallery and MP4 capture. Playback controls are an overlay that stays transparent until hovered or focused; never reserve stage space for them or include them in the poster. Inside an Open Design project the motion source player fits the stage and owns the controls, so the preview shell yields its own fit and controls there.
The GSAP master timeline is the only clock. Render every visible layer from
its current time in the per-frame loop: export seeks suppress timeline
callbacks. Schedule the next animation frame before drawing so one failed
frame cannot stop the loop. Backward seeks must reproduce identical frames.
Await bundled fonts before playback and signal preview-ready at a legible hero
frame. Preserve window.__timelines and the composition's timing attributes.
Avoid large canvas gradients and per-pixel noise: they make every captured
frame expensive and slow the MP4 export.
Sound
assets/soundtrack.mp3 is an original 20-second score made for this template
and timed to its beats; no audio from the source video is used.
The bundled track is demo material, not a requirement for generated films.
The user's current brief takes priority over this reference and its seed prompt,
including duration, music choice, genre, mood, voiceover and sound effects.
Follow the general motion-design audio guidance; this template does not disable
available audio tools or original audio synthesis.
- If the user requests a silent film, remove all audio. If they request only no background music, remove the music but retain any requested sound effects or voiceover. No voiceover does not mean no music.
- Use the user's supplied audio when requested. If they request different music, choose or create a suitable real local asset using the available audio tools, licensed sources or original synthesis. Do not silently substitute the demo track for an unmet request; briefly disclose any limitation.
- Without a specific music request, add appropriate audio when it benefits the film. Reuse the demo track only when it suits the actual story, mood and timing; it is an option, not the default for every adaptation.
- Fit the visuals and audio to the requested film duration, not to the demo's duration. For example, a 15-second brief stays 15 seconds even when the demo score is 20 seconds. Edit the selected track with a deliberate ending/fade; use the same edited local file in HTML and MP4. For a longer film, arrange or replace the track to cover the intended beats rather than leaving an accidental silent tail. Do not rely on an HTML-only loop or playbackRate for export.
For background music keep id="soundtrack", data-start="0" and a numeric
data-volume; update src and data-duration to the actual edited asset and
film. Remove unused demo audio from the generated composition. Set the source's
od-motion-audio metadata to required when sound is intended, or silent for
an intentionally silent film, using the general motion-design delivery guidance.
Verify the ending and audio in both HTML playback and the exported MP4.
The <audio> element stays inside the composition root; the desktop exporter
mixes its local file into the MP4. Preview sound starts with the film; when the
browser blocks autoplay, the first click or key press turns it on, and Sound off
mutes it. Sound follows the master timeline, including pause and backward
seeks. Keep it silent during frame capture and in sandboxed gallery thumbnails.
