Playground
From nap_pod · Compiles in your browser · $0
CtrlShiftS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
asset nap_pod "Nap pod" complexity=4// a nap pod for the quiet room: a big egg-shaped shell lying on a plinth with a round dark opening on// its front, and a sleepy worker tucked inside: head on a pillow with a striped nightcap, shut eyes and// a little open mouth, a duvet hump; a reading light glows on the shell and a "shh" tag hangs off the// rim; the duvet breathes, and in the snore state the head nods and puffs drift uplet shellC = white:3|cream|lilac|sky|mintlet plinthC = oak:2|birch|walnutlet duvetC = lilac:2|sky|peach|mint|lemonlet capA = cherry|cobalt|teal|grapelet skinC = skin0|skin1|skin2|skin3|skin4|skin5|skin6|skin7|skin8|skin9// the plinth and the shellbox plinth size=(2.1, .26, 1.1) round=.08 bev=2 bands=[.5:plinthC*1.1] color=plinthClathe 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=16cyl hole on=plinth at=(-.05, .82, .48) rot=(90, 0, 0) h=.1 r=.4 depth=.82 color=inkDark*1.3 segs=28torus lip on=hole at=(0, .1, 0) R=.4 r=.045 scale=(1, 1, .82) color=shellC*.88 segs=32 sides=8// the sleeper: pillow, head, nightcap, duvet hump and a handball pillow on=plinth at=(-.3, .68, .6) r=(.17, .07, .12) color=white segs=14 rings=8ball head on=plinth at=(-.26, .84, .64) r=.16 color=skinC segs=18 rings=12 jointface snooze on=head eyes=sleepy mouth=open blush spacing=26 eyeY=6 mouthY=-26 size=.18 mouthW=.25 detail=.6cone 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=14ball pom on=cap at=end r=.05 color=white segs=8 rings=5ball duvet on=plinth at=(.12, .74, .6) r=(.32, .2, .15) color=duvetC segs=18 rings=10 jointball hand on=duvet at=(-.12, .15, .08) r=(.06, .045, .05) color=skinC segs=10 rings=6// the reading light and the shh tagcyl lampcup on=plinth at=(.72, 1.14, .3) rot=(40, 0, 0) h=.08 r=.07 r2=.05 color=iron segs=12ball lampglow on=lampcup at=(0, .07, 0) r=.055 color=glow ink=glow segs=10 rings=6slab 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// idle: the duvet breathes; snore: the head nods and puffs drift up from the mouthanim duvet s sin amp=.05 hz=.25anim snore: head rx sin amp=5 hz=.4fx snore: puff on=head at=(.04, .02, .16) dir=(.3, 1, .4) speed=.25 spread=10 n=4 hz=.35 size=.035 grow=2
Clean: no issues on this seed.
Loading
seed
Shapes— / 70
Triangles— / 6,000
Draw calls— / 4