Nap pod · celworld
seed

Nap pod

nap_pod v1Agent-madec4
Open in Playground

v1 cost

$0.464est.

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

Output share
2.6k
Time share
94s
The agent session
All 1 version$0.464

Budget

c4 · 35 lines
Shapes14 / 70
Triangles4,308 / 6,000
Draw calls4 / 4
States
snore
Used in
Made
1asset nap_pod "Nap pod" complexity=4
2// a nap pod for the quiet room: a big egg-shaped shell lying on a plinth with a round dark opening on
3// its front, and a sleepy worker tucked inside: head on a pillow with a striped nightcap, shut eyes and
4// a little open mouth, a duvet hump; a reading light glows on the shell and a "shh" tag hangs off the
5// rim; the duvet breathes, and in the snore state the head nods and puffs drift up
6let shellC = white:3|cream|lilac|sky|mint
7let plinthC = oak:2|birch|walnut
8let duvetC = lilac:2|sky|peach|mint|lemon
9let capA = cherry|cobalt|teal|grape
10let skinC = skin0|skin1|skin2|skin3|skin4|skin5|skin6|skin7|skin8|skin9
11
12// the plinth and the shell
13box plinth size=(2.1, .26, 1.1) round=.08 bev=2 bands=[.5:plinthC*1.1] color=plinthC
14lathe shell on=plinth at=(-1.0, .82, 0) rot=(0, 0, -90) h=2.0 r=.56 prof=[0:.18 .08:.62 .25:.95 .5:1 .75:.95 .92:.62 1:.18] color=shellC segs=28 rings=16
15cyl hole on=plinth at=(-.05, .82, .48) rot=(90, 0, 0) h=.1 r=.4 depth=.82 color=inkDark*1.3 segs=28
16torus lip on=hole at=(0, .1, 0) R=.4 r=.045 scale=(1, 1, .82) color=shellC*.88 segs=32 sides=8
17
18// the sleeper: pillow, head, nightcap, duvet hump and a hand
19ball pillow on=plinth at=(-.3, .68, .6) r=(.17, .07, .12) color=white segs=14 rings=8
20ball head on=plinth at=(-.26, .84, .64) r=.16 color=skinC segs=18 rings=12 joint
21face snooze on=head eyes=sleepy mouth=open blush spacing=26 eyeY=6 mouthY=-26 size=.18 mouthW=.25 detail=.6
22cone cap on=head surf=(-70, 40) lift=-.06 h=.3 r=.15 bend=40 bands=[.25:white .45:capA .65:white .85:capA] color=capA segs=14
23ball pom on=cap at=end r=.05 color=white segs=8 rings=5
24ball duvet on=plinth at=(.12, .74, .6) r=(.32, .2, .15) color=duvetC segs=18 rings=10 joint
25ball hand on=duvet at=(-.12, .15, .08) r=(.06, .045, .05) color=skinC segs=10 rings=6
26
27// the reading light and the shh tag
28cyl lampcup on=plinth at=(.72, 1.14, .3) rot=(40, 0, 0) h=.08 r=.07 r2=.05 color=iron segs=12
29ball lampglow on=lampcup at=(0, .07, 0) r=.055 color=glow ink=glow segs=10 rings=6
30slab tag on=plinth at=(.6, .38, .56) pts=[-.12,0 .12,0 .12,.16 .03,.16 0,.2 -.03,.16 -.12,.16] t=.02 round=.008 color=lemon edge=capA
31
32// idle: the duvet breathes; snore: the head nods and puffs drift up from the mouth
33anim duvet s sin amp=.05 hz=.25
34anim snore: head rx sin amp=5 hz=.4
35fx snore: puff on=head at=(.04, .02, .16) dir=(.3, 1, .4) speed=.25 spread=10 n=4 hz=.35 size=.035 grow=2
36