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

Advanced AI Prompt for Inertia-Based Physics Cursor Follower

Customize the variables below to instantly engineer your prompt.

Required Variables

inertia-based-physics-cursor-follower.txt
Act as a Web Animation Physicist. Engineer a hyper-realistic, physics-driven cursor follower that abandons simple linear interpolation (LERP) in favor of a true, algorithmic Spring Physics model. You must declare strict constants for atmospheric [FRICTION], object [MASS], and the [SPRING_STIFFNESS] tension pulling the follower toward the real pointer. Write a custom `requestAnimationFrame` 'tick' engine that mathematically calculates velocity and acceleration on every frame, resulting in a cursor that feels incredibly heavy, overshoots the target slightly, and exhibits organic, bouncing inertia when coming to a dead stop. In the code comments, explicitly detail the mathematical implementation of Hooke's Law (`F = -kx`) driving the script. Mandate an accessibility block that instantly short-circuits the physics loop and locks the follower to the exact mouse coordinates if `matchMedia('(prefers-reduced-motion: reduce)')` evaluates to true, preventing vertigo.

Example Text Output

"The AI generates a script that uses Hooke's Law to calculate the acceleration and velocity of the cursor follower for a realistic physics feel."

More Web Components Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for Inertia-Based Physics Cursor Follower" prompt used for?

The AI generates a script that uses Hooke's Law to calculate the acceleration and velocity of the cursor follower for a realistic physics feel.

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.