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

Advanced AI Prompt for Three.js Scroll-Synced Particle Dispersion

Customize the variables below to instantly engineer your prompt.

Required Variables

scroll-synced-particle-dispersion.txt
Act as a Technical SEO and WebGL Integration Specialist. Create a Three.js particle background that is mathematically synchronized to the native DOM scrollbar. As the user's viewport intersects and scrolls toward the [TARGET_SECTION], the monolithic particle structure must violently disperse outward by a calculated [DISPERSION_RADIUS] and undergo a continuous [COLOR_SHIFT] via HSL interpolation. Map the precise DOM scroll percentage directly to a uniform float utilizing the defined [SCROLL_SENSITIVITY] multiplier. To optimize Google PageSpeed Insights (LCP/TBT), ensure the Three.js `<canvas>` is locked via `position: fixed` and implement an `IntersectionObserver` that completely halts the `requestAnimationFrame` loop whenever the canvas is scrolled out of the visible viewport.

Example Text Output

"The AI will generate a script that integrates IntersectionObserver and window scroll listeners to manipulate Three.js uniforms."

More Web Components Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for Three.js Scroll-Synced Particle Dispersion" prompt used for?

The AI will generate a script that integrates IntersectionObserver and window scroll listeners to manipulate Three.js uniforms.

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.