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

Advanced AI Prompt for SVG Path-Following Cursor Trail

Customize the variables below to instantly engineer your prompt.

Required Variables

svg-path-following-cursor-trail.txt
Act as a Vector DOM Manipulator. Design a breathtaking custom cursor interaction that physically paints a continuous, trailing SVG `<path>` line directly across the screen, mapping the exact, chaotic movement history of the user's mouse. The drawn vector path must be styled with a kinetic [STROKE_DASHARRAY] dotted pattern and radiate an intense [GLOW_COLOR] CSS `filter: drop-shadow` neon effect. To prevent the DOM from violently crashing due to thousands of coordinate points, you must engineer a highly aggressive array-splicing function that strictly limits the stored history to the last [TRAIL_LENGTH] (e.g., 20) raw X/Y coordinates. Construct a `requestAnimationFrame` loop that rapidly re-writes the SVG `d` attribute string (`M x y L x y...`). Provide the specific garbage-collection logic required to detect when the mouse has been idle for 500ms and smoothly dissolve/purge the entire SVG path from the screen.

Example Text Output

"An SVG-based trail renderer that dynamically generates path points, creating a smooth, glowing line following the user's pointer."

More Web Components Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for SVG Path-Following Cursor Trail" prompt used for?

An SVG-based trail renderer that dynamically generates path points, creating a smooth, glowing line following the user's pointer.

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.