threejs-compositions
Three.js in Editframe Compositions
Drive Three.js scenes from Editframe's timeline via addFrameTask. The scene is a pure function of composition time — no internal clock — making it fully scrubable, seekable, and renderable to video.
Architecture
EFTimegroup.addFrameTask(({ ownCurrentTimeMs, durationMs }) => {
scene.update(ownCurrentTimeMs, durationMs);
})
The Three.js renderer targets a <canvas> inside the timegroup. The composition provides timing; the canvas provides visuals.
Scene Module Pattern
Create a standalone module that exports a factory function:
More from editframe/skills
video-analysis
Analyze video files using ffprobe, mp4dump, and jq. Use when investigating video samples, keyframes, MP4 box structure, codec info, packet timing, or debugging video playback issues.
93visual-thinking
Create visual analogies by mapping relational structure from familiar domains onto unfamiliar concepts using spatial relationships to make abstract patterns concrete. Covers static diagrams AND animated video storytelling (camera choreography, race comparisons, pacing). Use when explaining complex concepts, creating analogies, designing diagrams, creating explainer animations, or revealing system structure.
84css-animations
CSS animation fill-mode requirements for Editframe timeline system. Use when creating CSS animations, debugging flashing/flickering issues, or when user mentions animation problems, fade effects, slide effects, or sequential animations.
82editor-gui
Build video editing interfaces using Editframe's GUI web components. Assemble timeline, scrubber, filmstrip, preview, and playback controls like lego bricks. Use when creating video editors, editing tools, or when user mentions timeline, scrubber, preview, playback controls, trim handles, or wants to build editing UIs.
77elements-new-package
Create a new @editframe/* workspace package in the elements monorepo and publish it to npm.
77poly-pizza-api
>
74