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

Advanced AI Prompt for Image Masking Reveal Cursor

Customize the variables below to instantly engineer your prompt.

Required Variables

image-masking-reveal-cursor.txt
Act as a Creative Frontend Illusionist. Design an interactive 'flashlight' or 'x-ray' cursor effect that physically acts as a geometric window, revealing a completely hidden [REVEAL_IMAGE_URL] resting underneath a solid, dark top-layer overlay. The 'hole' in the overlay must be mathematically carved out using the exact [MASK_SHAPE] constrained to a [MASK_SIZE] diameter (e.g., 150px circle). Dictate the implementation using the highly performant CSS `clip-path: circle(size at X Y)` updated via JS custom properties, or alternatively, a Canvas `globalCompositeOperation = 'destination-out'` approach. You must provide a rigorous, graceful degradation fallback utilizing a standard semi-transparent radial gradient for legacy browsers that outright fail to render CSS masking paths. Crucially, the overlay and mask must possess `pointer-events: none` to guarantee the hidden text content underneath remains perfectly highlightable, selectable, and clickable.

Example Text Output

"A CSS/JS solution using a clip-path circle that follows the mouse, revealing a background-image layer specifically within the circle's radius."

More Web Components Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for Image Masking Reveal Cursor" prompt used for?

A CSS/JS solution using a clip-path circle that follows the mouse, revealing a background-image layer specifically within the circle's radius.

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.