Crypt ghost · celworld
seed

Crypt ghost

crypt_ghost v1Agent-madec4
Open in Playground

v1 cost

$0.957est.

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

Output share
2.6k
Time share
91s
The agent session
All 1 version$0.957

Budget

c4 · 41 lines
Shapes17 / 70
Triangles3,936 / 6,000
Draw calls4 / 4
States
fly
Used in
Made
1asset crypt_ghost "Crypt ghost" complexity=4 float
2// a little lost soul of the graveyard: a glowing teardrop ghost with a curling wisp of a tail, stubby
3// arms, a sad round "oooh" face and stubby arms. Seeds give
4// it a dented helmet, a tiny crown or a candle. It hovers and bobs, its tail curling; on fly it leans
5// into the drift with its arms streaming back.
6let S = .9..1.1
7let ghostC = mint:2|aqua|lavender|white
8let hat = int(0..2)
9
10// the glowing body and its wisp tail
11lathe body at=(0, .5, 0)*S h=.66*S r=.3*S prof=[0:.25 .2:.55 .45:.88 .65:1 .82:.92 .94:.6 1:0] color=ghostC ink=glow segs=26 rings=16 joint
12cone wisp on=body at=(0, .04, 0)*S rot=(170, 0, 0) h=.4*S r=.09*S bend=60 color=ghostC ink=glow segs=10 joint
13cone wisp2 on=wisp at=(.04, .1, 0)*S rot=(0, 0, 30) h=.2*S r=.08*S bend=-50 color=ghostC ink=glow segs=8
14ball mote x3 on=wisp at=(.05, .36, 0)*S chain=(.04, .05, 0)*S r=.035*S scale=.8 color=ghostC ink=glow segs=8 rings=6
15
16// the face
17face look on=body eyes=round mouth=open size=.3 spacing=24 eyeY=12 mouthY=-12 mouthW=.25 iris=navy detail=.8
18
19// stubby arms
20limb arm on=body at=(.26, .3, 0)*S mirror rot=(0, 0, -60) len=.2*S r=(.07, .04)*S color=ghostC ink=glow segs=10 joint
21ball hand on=arm at=end r=.05*S color=ghostC ink=glow segs=10 rings=6
22
23// a hat by seed: dented helmet, a tiny crown, or a candle stuck on top
24ball helm on=body at=(0, .5, 0)*S r=(.17, .12, .17)*S half color=iron segs=12 rings=5 if=hat==0
25cone plume on=helm at=(0, .1, -.02)*S rot=(-30, 0, 0) h=.18*S r=.04*S bend=-40 color=tomato segs=6
26cyl crown on=body at=(0, .52, 0)*S rot=(-8, 0, 12) h=.08*S r=.08*S color=sunflower panels=5 open=top segs=10 if=hat==1
27cone cSpike x5 on=crown ring at=(.08*S, .08*S, 0) h=.05*S r=.02*S color=sunflower segs=4
28cyl candle on=body at=(.06, .5, 0)*S rot=(0, 0, -12) h=.14*S r=.03*S color=cream segs=8 if=hat==2
29ball flame on=candle at=(0, .2, 0)*S r=(.025, .05, .025)*S color=sunflower ink=glow segs=6 rings=4
30
31fx sparkle on=body at=(0, .1, 0) n=4 spread=.35 hz=.5
32
33// idle: hover and bob, sway, the tail curls, the arms wave
34anim body py sin amp=.08 hz=.4
35anim body rz sin amp=6 hz=.3
36anim wisp rz sin amp=18 hz=.6
37anim arm rz sin amp=14 hz=.55
38// fly: lean into the drift, arms stream back, the tail whips
39anim fly: body rx keys=[0:16 .5:22 1:16] hz=.8
40anim fly: arm rx keys=[0:-40 .5:-30 1:-40] hz=.9
41anim fly: wisp rx sin amp=20 hz=1.2
42