Animated loader · mistral-medium-3.1
Output generated Cost / run $0.0034 Runtime 13.4s
Prompt for this run
Using the pre-provided gsap.min.js (global gsap), create a looping animated loading sequence on a dark background: morphing rounded shapes and a staggered row of dots orchestrated on a GSAP timeline with smooth easing.
TAKE IT TO CODE
A single self-contained HTML file — copy it and open in any browser, or reuse the prompt with your own pi-agent run.
RUN
METRICS
Transcript · 4 messages
Using the pre-provided gsap.min.js (global gsap), create a looping animated loading sequence on a dark background: morphing rounded shapes and a staggered row of dots orchestrated on a GSAP timeline with smooth easing.
index.html (4077 bytes)Successfully wrote 4077 bytes to index.html
Created a self-contained `index.html` with: - **Morphing shape**: A rounded rectangle that smoothly transforms between circle, pill, and diamond states using GSAP's `borderRadius` and `scale` properties, with gradient color shifts. - **Staggered dots**: 5 dots in a row that pulse in sequence with `opacity` and `scale` animations, synchronized to the main timeline. - **Dark theme**: Deep dark background (`#121212`) with vibrant purple/blue gradients for contrast. - **Looping timeline**: Infinite repeat via `repeat: -1` and smooth `sine.inOut` easing. Open `index.html` in a browser to see the animation. No external dependencies—only the local `gsap.min.js` is loaded.