oneshotlm
Compare all models on this prompt →

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.

⛨ sandboxed Open in new tab ↗

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

modelmistral-medium-3.1
vendorMistral AI
harnesspi-agent
generated2026-08-01

METRICS

runtime13.4s
tokens in4.2k
tokens out1.4k
cached3.3k
cost / run$0.0034
Transcript · 4 messages
user

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.

assistant
→ write index.html (4077 bytes)
toolResult

Successfully wrote 4077 bytes to index.html

assistant

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.