Blenra LogoBlenra
Optimized for: Gemini / ChatGPT / Claude
#GSAP

Advanced AI Prompt for Lottie Animation Scroll Control

Customize the variables below to instantly engineer your prompt.

Required Variables

gsap-lottie-scrolltrigger-integration.txt
Act as a Technical Motion Integrator. Architect a seamless code bridge merging a complex Bodymovin Lottie animation ([JSON_PATH]) directly into a GSAP ScrollTrigger timeline. The vector animation housed inside the [LOTTIE_CONTAINER] must abandon its autonomous playback; instead, its exact internal frame sequence must be slaved entirely to the user's vertical scroll progress. Provide the complete JavaScript helper function required to extract the `totalFrames` property from the initialized Lottie instance and mathematically map it to a GSAP tween traversing from frame 0 to max. Calibrate the [SCRUB_SPEED] variable to apply momentum friction, and configure the parent container to physically pin to the viewport (`pin: true`) for the exact duration required for the Lottie JSON to play through its 100% progression cycle.

Example Text Output

"The AI provides a LottieScrollTrigger helper function that maps the totalFrames of the Bodymovin instance to a GSAP timeline."

More Web Components Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for Lottie Animation Scroll Control" prompt used for?

The AI provides a LottieScrollTrigger helper function that maps the totalFrames of the Bodymovin instance to a GSAP timeline.

Which AI tools work with this prompt?

This prompt is optimized for Gemini / ChatGPT / Claude, but works great with ChatGPT, Claude, Gemini, and other large language models. Simply copy it and paste it into your preferred AI tool.

How do I customize this prompt?

Use the variable fields above to fill in your specific details. The prompt will auto-update as you type, ready to copy instantly.

Is this prompt free?

Yes! All prompts on Blenra are free to copy and use immediately. No account required.