Blenra
Optimized for: Gemini / ChatGPT / Claude

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

Use this engineered prompt to drastically optimize your workflow and output.

Required Variables

  • [SCROLL_SENSITIVITY]
  • [DISPERSION_RADIUS]
  • [COLOR_SHIFT]
  • [TARGET_SECTION]
scroll-synced-particle-dispersion.txt
Act as a Technical SEO and Web Designer. Create a Three.js particle background that responds to page scrolling. As the user scrolls towards [TARGET_SECTION], the particles should disperse by a [DISPERSION_RADIUS] and undergo a [COLOR_SHIFT]. Map the scroll percentage to a shader uniform using [SCROLL_SENSITIVITY]. Ensure the Three.js canvas is fixed to the viewport and the rendering only occurs when the canvas is in view to optimize the PageSpeed Insights score.

Example Output

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