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

Infinite Loop Carousel Logic with GSAP and Draggable Integration

Customize the variables below to instantly engineer your prompt.

Required Variables

gsap-infinite-loop-draggable-carousel.txt
Act as a UX Interaction Engineer. Engineer a mathematically flawless, seamless infinite-loop carousel utilizing GSAP's advanced `ModifiersPlugin` combined with the `Draggable` utility. The system must index all [SLIDE_SELECTOR] elements and calculate a strict modulo [WRAP_THRESHOLD] for instantaneous X-axis position resetting. Incorporate an autonomous, background [AUTOPLAY_SPEED] timeline that dictates a constant crawl. This timeline must be intelligently paused and interrupted the moment user interaction is detected, governed by a tactile [DRAG_RESISTANCE] physics profile. Ensure the core modulo math governing the transition between the absolute last slide and the first slide executes perfectly without any visual jumping, clipping, or z-index tearing.

Example Text Output

"A performant, touch-enabled slider that loops indefinitely and maintains momentum when the user flings it with a gesture."

More Web Components Prompts

View all →

Frequently Asked Questions

What is the "Infinite Loop Carousel Logic with GSAP and Draggable Integration" prompt used for?

A performant, touch-enabled slider that loops indefinitely and maintains momentum when the user flings it with a gesture.

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.