Deterministic Three.js 3D Scenes for HyperFrames
by Ajit Gupta
Create 3D animations and logo reveals that stay perfectly in sync with your video timelines every single time.
$1
What it does
- Connects 3D movements to a timeline so they stay perfectly in sync during video exports
- Calculates safe zones to prevent 3D objects from overlapping your text and logos
- Sets up a manual render system that avoids common 3D timing glitches and jumps
- Provides specific camera settings for both horizontal and vertical video layouts
- Ensures 3D shapes and lighting look exactly the same every time the animation runs
Who it's for
Motion designers using code
Build 3D animations that render perfectly every time without glitching during edits.
Try asking: “Create a 3D spinning logo reveal for a 1920 by 1080 video.”
Frontend developers building video tools
Ensure your Three.js scenes stay in sync with GSAP timelines for frame-accurate exports.
Try asking: “Set up a deterministic 3D scene that works with a paused GSAP timeline.”
Brand designers creating 3D assets
Position 3D shapes perfectly alongside your text logos without them overlapping.
Try asking: “Design a 3D ring animation that leaves space for a wordmark on the right.”
Deterministic Three.js 3D Scenes for HyperFrames
Example session with this skill installed
I need a 3D logo reveal. The logo is a 3D squircle that needs to slide from the center to the left to make room for a wordmark on the right. This is for a 1920x1080 video.
- Read your context and instructions
- Compiled the deterministic three js
I will help you set up a deterministic 3D reveal for your squircle logo. This setup ensures the movement is perfectly tied to your animation timeline so it never drifts.
1. The 3D Layout
For a 1920x1080 horizontal video, we will position the squircle group in the center and then slide it left.
- Starting Position: The squircle group starts at the center.
- End Position: It moves to an X position of -2.25 to clear space.
- Wordmark Space: This leaves the area starting at
870px on the right side of the screen completely clear for your text.
2. The Animation Code
This script creates a proxy that tells Three.js exactly which frame to show based on the timeline progress.
// This drives the 3D render based on the timeline position
const tl = gsap.timeline({ paused: true });
const proxy = { t: 0 };
tl.to(proxy, {
duration: 3, // Length of the reveal
t: 3,
ease: "none",
onUpdate: () => render3D(proxy.t), // Tells Three.js to draw exactly at time t
}, 0);
// Register the timeline for the video tool
window.__timelines = window.__timelines || {};
window.__timelines["s03-reveal"] = tl;
3. Safety Check
I have added the data-layout-ignore attribute to your 3D canvas. This ensures that when the system checks your text layout, it doesn't get confused by the 3D background.
Would you like the specific code to set up the 3D squircle shape and its materials next?
Connects securely to your tools. The creator never sees your data.
About this skill
When you try to mix 3D graphics with video timelines, the animations often drift or look different every time you hit play. This skill helps you build 3D scenes that are perfectly predictable, so every frame stays exactly where it should be during a video export or while scrubbing a timeline.
How it works
- You tell your AI agent what kind of 3D object or scene you want to create and the video size you are working with.
- The skill sets up a 3D environment where every movement is tied to a specific point in time rather than a live clock.
- Your AI agent provides the specific code to position your 3D shapes, lights, and cameras so they never bump into your text or logos.
- You receive a ready-to-use script that connects the 3D scene to a master animation timeline.
Frameworks & tools
This skill uses the Three.js library for 3D graphics and the GSAP library for controlling the animation timing. It works within HTML files and uses standard JavaScript to keep everything in sync.
Why this beats prompting it yourself
Most AI models try to animate 3D using a live "clock," which breaks when you try to render a video frame-by-frame. This skill enforces a specific way of coding where time is controlled manually, ensuring the 3D scene looks identical every time it is viewed. It also includes specific layout rules to make sure 3D objects do not cover up your important text.
Use cases
- Creating a 3D spinning brand mark for a vertical social media ad.
- Designing a 3D product stage where the camera moves in sync with titles.
- Building a logo reveal where a 3D shape slides over to make room for a name.
- Making sure a 3D background animation doesn't slow down or skip frames.
Known limitations
This skill requires you to load the Three.js library locally in your project folder to prevent loading errors. It is designed specifically for predictable video-style timelines.
Built for Three.js (v0.147.0) and GSAP integration. It enforces a deterministic render loop by replacing requestAnimationFrame with a manual render3D(t) function driven by a GSAP proxy tween. Requires Three.js UMD to be loaded synchronously in the root index.html to avoid async registration races in window.__timelines. Uses specific coordinate offsets for 16:9 and 9:16 aspect ratios to manage typography collisions.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 1 day ago
- Software
Node.jsHyperFrames CLI
Permissions
Allowed Hosts
File Scopes
What's inside
Frequently Asked Questions
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.