cinematic-3d-vfx-cgi
Installation
SKILL.md
Cinematic 3D Motion Graphics, VFX & CGI Engineering
1. Deterministic 3D & Shader Rules
Whether rendering in HyperFrames or Remotion, headless Chromium captures frames out of real-time order.
- Never use
clock.getDelta()orperformance.now()to advance 3D animations or shaders. - Always compute scene state as a pure function of
t(seconds) orframe. - Seed all randomness: Particle positions, debris velocities, starfields, and noise turbulence MUST use a deterministic seeded generator (
mulberry32(seed)).
2. HyperFrames Three.js + GSAP Deterministic Adapter
When using Three.js inside a HyperFrames HTML composition:
- Vendor Three.js locally from
/home/user/AI-VIDEO-EDITOR/toolkit/vendor/three.core.min.js(orregistry/blocks/cuboid-carousel/assets/three.module.min.js). - Drive a
state = { progress: 0, camAngle: 0, explode: 0 }object via the paused master GSAP timelinewindow.__timelines["main"], and render the Three.js scene inside a GSAPonUpdatecallback or deterministicrenderAtTime(t)hook so seeking to any timestamptimmediately updates camera matrices, meshes, shaderuTimeuniforms, and callsrenderer.render(scene, camera).