Sarcophagus · celworld
seed

Sarcophagus

sarcophagus v1Agent-madec4
Open in Playground

v1 cost

$2.02est.

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

Output share
5.6k
Time share
3m 12s
The agent session
All 1 version$2.02

Budget

c4 · 72 lines
Shapes50 / 70
Triangles5,368 / 6,000
Draw calls3 / 4
States
peek
Used in
Made
1asset sarcophagus "Sarcophagus" complexity=4
2// a stone coffin on a plinth, its lid carved with the sleeping effigy of a dragon-slayer: hands
3// crossed on a sword, a little stone dragon curled at the feet. Candles burn at the front corners. The
4// coffin is hollow and someone in it is restless: the lid judders now and then, and on peek it grinds
5// aside, a skull with burning eyes rises from the dark and a bony hand hooks over the rim.
6let L = 2.1
7let stoneC = greystone:2|sandstone|rockCool|warmstone
8let trimC = brass:2|iron|copper
9let eyeC = lime:2|aqua|sunflower
10let flameC = sunflower:2|lime
11let deco = int(0..2)
12
13// plinth and the hollow coffin: two long walls, two end walls, a dark floor inside
14box plinth size=(L+.3, .16, 1.12) round=.04 bev=2 bands=[.5:stoneC*.9] color=stoneC*.85
15box wallF on=plinth at=(0, .16, .41) size=(L, .72, .12) round=.03 bev=2 panels=3 stripes=[stoneC stoneC*.9] color=stoneC
16box wallB on=plinth at=(0, .16, -.41) size=(L, .72, .12) round=.03 bev=2 color=stoneC
17box wallE on=plinth at=(L/2-.06, .16, 0) mirror size=(.12, .72, .7) round=.03 color=stoneC
18box bottom on=plinth at=(0, .16, 0) size=(L-.1, .3, .72) color=inkDark
19box rimTrim on=wallF at=(0, .66, .065) size=(L+.02, .05, .03) round=.01 color=trimC
20ball roundel on=wallF at=(0, .36, .07) r=(.16, .16, .05) color=cream segs=10 rings=5
21ball rSocket on=roundel at=(.05, .02, .04) mirror r=(.035, .04, .02) color=inkDark segs=6 rings=4
22torus ring on=wallF at=(.62, .33, .08) mirror rot=(90, 0, 0) R=.09 r=.022 color=trimC segs=12 sides=5
23
24// the restless dead: a skull and a hand waiting in the dark
25ball skull on=bottom at=(-.72, .44, 0) r=(.16, .15, .17) color=cream segs=12 rings=8 joint
26ball socket on=skull at=(.06, .02, .13) mirror r=(.045, .05, .03) color=inkDark segs=8 rings=5
27ball glint on=socket at=(0, 0, .02) r=(.02, .022, .012) color=eyeC ink=glow segs=6 rings=4
28box jaw on=skull at=(0, -.15, .05) size=(.17, .07, .14) round=.03 color=cream
29rod neck on=skull at=(0, -.12, -.04) to=(0, -.42, -.02) r=.045 sides=6 color=cream
30box hand on=bottom at=(-.36, .33, .22) size=(.12, .06, .08) round=.02 color=cream joint
31tube finger x4 on=hand at=(0, .03, .03) row=(.035, 0, 0) pts=[0, 0, 0 0, .16, .05 0, .19, .12] r=.016 sides=5 color=cream
32
33// the lid and its effigy
34box lid on=wallF at=(0, .72, -.41) size=(L+.1, .14, 1.0) round=.04 bev=2 bands=[.5:stoneC*1.06] color=stoneC joint
35box pillow on=lid at=(-.78, .14, 0) size=(.34, .08, .5) round=.04 color=stoneC*1.12
36ball head on=pillow at=(.02, .14, 0) r=(.15, .13, .14) color=stoneC*1.12 segs=10 rings=7
37box torso on=lid at=(-.12, .13, 0) size=(1.0, .17, .44) round=.08 bev=2 color=stoneC*1.12
38ball hands on=torso at=(-.12, .17, 0) r=(.1, .07, .12) color=stoneC*1.18 segs=10 rings=6
39ball pauldron on=torso at=(-.38, .12, .2) mirror r=(.13, .09, .1) color=stoneC*1.16 segs=8 rings=5
40ball nose on=head at=(.06, .1, 0) r=(.04, .04, .035) color=stoneC*1.12 segs=6 rings=4
41box sword on=torso at=(.08, .17, 0) size=(.9, .03, .07) round=.01 color=steel
42box guard on=sword at=(-.24, 0, 0) size=(.04, .04, .26) round=.01 color=trimC
43ball foot on=lid at=(.48, .16, .1) mirror rot=(0, 0, -20) r=(.1, .08, .07) color=stoneC*1.12 segs=8 rings=5
44
45// the little stone dragon curled at the effigy's feet
46ball pup on=lid at=(.82, .14, 0) r=(.16, .11, .2) color=stoneC*1.08 segs=12 rings=7
47ball pupHead on=pup at=(-.02, .1, .17) r=(.08, .07, .09) color=stoneC*1.08 segs=10 rings=6
48cone pupHorn on=pupHead at=(.04, .06, -.02) mirror rot=(-50, 0, -15) h=.08 r=.022 color=stoneC*1.08 segs=5
49tube pupTail on=pup at=(.08, -.02, -.15) pts=[0, 0, 0 .12, 0, -.05 .14, 0, .12 .04, 0, .2] r=(.04, .015) smooth sides=5 color=stoneC*1.08
50
51// deco by seed: a wreath of dead roses, iron chains, moss
52puff wreath x5 on=lid at=(0, .26, .25) row=(.18, 0, 0) r=.06 color=sel(i, tomato, redwood, tomato, plum, tomato) segs=6 rings=4 if=deco==0
53torus chain x2 on=lid at=(-.4, -.04, 0) row=(1.1, 0, 0) rot=(0, 90, 0) R=.52 r=.03 color=iron segs=24 sides=5 if=deco==1
54puff moss x3 on=plinth at=(0, .14, .5) row=(.8, 0, 0) r=.14 color=moss segs=7 rings=4 if=deco==2
55
56// candles at the front corners
57cyl candle on=plinth at=(1.07, .16, .48) mirror h=.24 r=.045 color=cream segs=8
58ball drip on=candle at=(0, .2, 0) r=(.055, .03, .055) color=cream segs=8 rings=4
59ball flame on=candle at=(0, .31, 0) r=(.035, .065, .035) color=flameC ink=glow segs=8 rings=5 joint
60
61fx peek: puff on=wallE at=(0, .9, 0) n=4 spread=.3 hz=1
62
63// idle: the lid judders now and then, candles flicker, the eyes in the dark breathe
64anim lid rz keys=[0:0 .8:0 .84:1.2 .88:-.8 .92:.6 1:0] hz=.2
65anim flame s sin amp=.18 hz=2.6
66anim skull ry sin amp=12 hz=.3
67// peek: the lid grinds aside, the skull rises and looks round, the hand hooks the rim
68anim peek: lid px keys=[0:0 .2:.7 .8:.7 1:0] hz=.25
69anim peek: lid ry keys=[0:0 .2:-12 .8:-12 1:0] hz=.25
70anim peek: skull py keys=[0:0 .15:0 .35:.5 .7:.5 .9:0 1:0] hz=.25
71anim peek: skull ry keys=[0:0 .35:0 .45:30 .55:-30 .65:0 1:0] hz=.25
72anim peek: hand py keys=[0:0 .2:0 .35:.46 .75:.46 .9:0 1:0] hz=.25
73