Star swings · celworld
seed

Star swings

swing_ride v1Agent-madec8
Open in Playground

v1 cost

$1.04est.

Agent-made: its share of a Claude Code session, priced as API-equivalent Opus 5.5.

Output share
2.8k
Time share
2m 0s
The agent session
All 1 version$1.04

Budget

c8 · 37 lines
Shapes157 / 300
Triangles13,936 / 22,000
Draw calls2 / 6
States
None: it rests
Used in
Made
1asset swing_ride "Star swings" complexity=8
2// a chair swing ride: a striped tower on a round platform, a turning crown with a scalloped canopy,
3// a valance of drops and a ring of bulbs, a star on a mast at the very top, and twelve chairs hung on
4// twin chains that fly outward as the crown spins
5let R = 2.9..3.1
6let TH = 5.4..5.8
7let stA = cherry:2|cobalt|grape|teal
8let stB = cream:3|white
9let trim = navy:2|plum
10let metal = brass:3|silver
11let bulbC = glow:3|sunflower
12
13// the platform and the tower
14cyl base h=.3 r=R+1.9 round=.06 stripes=[stB trim] panels=24 bands=[.5:stB] color=stB segs=48
15lathe tower on=base at=(0, .3, 0) h=TH-.3 r=.5 prof=[0:1.3 .08:1 .5:.82 .9:.75 1:.9] stripes=[stA stB] panels=8 color=stA segs=16 rings=8
16torus collar x3 on=tower at=(0, TH*.4, 0) row=(0, TH*.24, 0) R=.42 r=.07 color=metal segs=24 sides=6
17ball tbulb x8 on=tower ring ring0=22.5 at=(.48, TH*.28, 0) r=.1 color=bulbC ink=glow segs=8 rings=5
18ball tbulb2 x8 on=tower ring at=(.43, TH*.64, 0) r=.1 color=bulbC ink=glow segs=8 rings=5
19
20// the crown: the turning bone, its canopy, valance and bulbs
21cyl crown on=tower at=(0, TH-.35, 0) h=.4 r=R round=.06 stripes=[stB stA] panels=24 color=stB segs=64 joint
22cone canopy on=crown at=(0, .36, 0) h=1.35 r=R+.25 r2=.12 stripes=[stA stB] panels=12 scallop=.08 color=stA segs=64
23ball drop x24 on=crown ring ring0=7.5 at=(R+.02, .02, 0) r=(.06, .17, R*.13) color=sel(i - 2*floor(i/2), stA, stB) segs=6 rings=4
24ball bulb x24 on=crown ring at=(R+.07, .22, 0) r=.1 color=sel(i - 2*floor(i/2), bulbC, pink) ink=glow segs=8 rings=5
25rod mast on=canopy at=(0, 1.3, 0) to=(0, .8, 0) r=.05 sides=6 color=metal
26slab star on=mast at=(0, .95, -.04) pts=[0,.34 .08,.11 .32,.1 .14,-.04 .21,-.28 0,-.14 -.21,-.28 -.14,-.04 -.32,.1 -.08,.11] t=.08 round=.025 color=sunflower ink=glow
27
28// twelve hangers on the rim, each tipped out; twin chains and a chair on each
29box hanger x12 on=crown ring ring0=15 at=(R-.15, -.04, 0) rot=(0, 0, 30) size=(.16, .1, .5) round=.03 color=metal joint
30rod chain on=hanger at=(0, 0, .2) row=(0, 0, -.4) x2 to=(0, -2.6, 0) r=.022 sides=4 color=metal
31box seat on=hanger at=(0, -2.72, 0) size=(.5, .1, .5) round=.05 color=sel(parent.i - 4*floor(parent.i/4), stA, sunflower, teal, pink)
32box back on=seat at=(-.22, .08, 0) size=(.08, .48, .5) round=.04 color=parent.color
33box foot on=seat at=(.25, -.3, 0) size=(.08, .3, .4) round=.03 color=trim
34rod bar on=seat at=(.25, .32, -.24) to=(0, 0, .48) r=.025 sides=5 color=metal
35
36anim crown ry spin hz=.11
37anim hanger rz sin amp=4 hz=.55 stagger=.31
38