oneshotlm
Compare all models on this prompt →

Animated loader · gpt-oss-120b

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 ↗
transcript · 6 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
thinking
We need to create index.html with all code, using gsap.min.js present in directory. Let's list files.
bash {"command":"ls -R ."}
toolResult

.: gsap.min.js

assistant
thinking
We need to create index.html with HTML skeleton, style for dark background, container elements for shapes and dots, include script src="gsap.min.js". Then script that builds timeline.

We need to write file. Let's craft content. Ensure animation loops: morphing rounded shapes could be an SVG shape that morphs between circles/rounded rectangles using GSAP's morphSVG plugin? But not available. Simpler: use CSS border-radius and scale transforms.

We can create three divs with class shape, animate border-radius from 20% to 50% to 20% and rotate.

Also row of dots: several small circles, animate y position up/down with stagger.

Let's create container .loader.

CSS: set body dark, .loader centered, .shapes container with position relative, shapes absolute.

JS: create gsap timeline with repeat:-1.

We'll use simple timeline.

Write index.html.
write index.html (1793 bytes)
toolResult

Successfully wrote 1793 bytes to index.html

assistant

Implemented a complete, self‑contained web page with a dark background that loads **gsap.min.js** locally and creates a looping loading animation: - A morphing, rotating rounded shape. - A staggered row of bouncing dots. - All styling and scripting are inline, requiring no external resources. The `index.html` file is now present in the workspace.

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

modelgpt-oss-120b
vendorOpenAI
harnesspi-agent
generated2026-07-22

EVALUATION

2/5 working

Small morphing blob shape with dot row loops on dark background but is tiny, off-center, and lacks visual polish.

Vision grade · anthropic/claude-sonnet-5

MEASUREMENTS

Raw readings from the capture, not a verdict — the grade above is the only judgement. Percentages are how much of the screen changed; the measure under-reports sparse motion on a dark background.

idle motion1.0%
on click0.8%
on drag1.0%
on wheel0.9%
on enter + space1.1%
on arrow keys0.9%
on w/a/s/d1.0%
frame spread11.7 / 255
console errors0
js errors none

METRICS

runtime24.4s
tokens in4.9k
tokens out1.0k
cached0
cost / run$0.0004