Firework crate · celworld
seed

Firework crate

firework_launcher v1Agent-madec3
Open in Playground

v1 cost

$0.762est.

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

Output share
2k
Time share
88s
The agent session
All 1 version$0.762

Budget

c3 · 28 lines
Shapes17 / 45
Triangles3,424 / 4,500
Draw calls3 / 3
States
launch
Used in
Made
1asset firework_launcher "Firework crate" complexity=3
2// a wooden crate of firework tubes: six striped tubes, slightly splayed, with cone caps and a coiled
3// fuse. launch: the tubes kick, a streak of sparks shoots up and bursts into a ring of stars high above
4let crateC = oak:2|honey|redwood
5let band = walnut:2|redwood
6let tubeA = cherry:2|cobalt|grape
7let tubeB = cream:3|white
8let burstA = pink|aqua|lime|sunflower
9let burstB = white|lemon|peach
10
11// the crate: a box with corner straps and a stencilled star
12box crate size=(1.0, .5, .75) round=.05 bands=[.15:crateC .2:band .8:crateC .85:band] color=crateC
13box strap on=crate at=(.44, 0, 0) mirror size=(.08, .52, .78) round=.02 color=band
14slab star on=crate at=(0, .25, .375) pts=[0,.17 .05,.06 .16,.05 .07,-.02 .11,-.14 0,-.07 -.11,-.14 -.07,-.02 -.16,.05 -.05,.06] t=.03 round=.01 color=sunflower
15
16// six tubes in two rows, splayed a little, each a bone so they kick on launch
17cyl tube x3 on=crate at=(0, .3, .17) row=(.28, 0, 0) rot=(-8, 0, 0) h=.62 r=.09 stripes=[tubeA tubeB] panels=4 color=tubeA segs=10 joint
18cyl tube2 x3 on=crate at=(0, .3, -.17) row=(.28, 0, 0) rot=(8, 0, 0) h=.72 r=.09 stripes=[tubeB tubeA] panels=4 color=tubeB segs=10 joint
19cone tip on=tube at=end h=.16 r=.1 color=tubeB segs=10
20cone tip2 on=tube2 at=end h=.16 r=.1 color=tubeA segs=10
21tube fuse on=crate pts=[.5,.24,.1 .6,.18,.2 .68,.12,.12 .66,.09,-.02] r=.022 smooth sides=4 color=band
22
23// the show: a streak of sparks up from the middle tube, a burst of stars above
24fx launch: jet on=tube2 at=end dir=(0, 1, 0) speed=13 spread=4 hz=1.1 n=14 size=.07 grow=.3 color=sunflower color2=tangerine ink=glow
25fx launch: sparkle on=crate at=(0, 8.6, 0) n=34 spread=2.3 size=.17 hz=.8 color=burstA color2=burstB ink=glow
26
27anim launch: tube py keys=[0:0 .1:-.05 .3:0 1:0] hz=1.2
28anim launch: tube2 py keys=[0:0 .15:-.06 .35:0 1:0] hz=1.2
29