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

Advanced AI Prompt for Chromatic Aberration Mouse Tracking

Customize the variables below to instantly engineer your prompt.

Required Variables

advanced-ai-prompt-chromatic-aberration-mouse-tracking.txt
Act as a Post-Processing Shader Expert. Create a standalone WebGL fragment shader designed specifically for a hero section that applies a localized, dynamic chromatic aberration (RGB split) effect strictly tethered to the user's mouse cursor coordinates. The [ABERRATION_STRENGTH] must hit its absolute maximum at the exact epicenter of the cursor, mathematically dissolving into zero distortion within a strict [FALLOFF_RADIUS]. Implement a JavaScript-side Linear Interpolation [LERP_FACTOR] to enforce a heavy, buttery-smooth trailing delay as the mouse whips across the screen. Within the GLSL, forcefully shift the Red, Green, and Blue texture sampling channels radially outward by the [CHANNEL_OFFSET] vector. Write edge-case logic for the UV sampling to guarantee the texture clamps to the edge, avoiding catastrophic repeating or mirroring artifacts at the screen borders.

Example Text Output

"The AI outputs a fragment shader that distorts screen colors locally around the pointer, creating a lens-like prism effect."

More Web Components Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for Chromatic Aberration Mouse Tracking" prompt used for?

The AI outputs a fragment shader that distorts screen colors locally around the pointer, creating a lens-like prism effect.

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.