Playground
From sarcophagus · 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
asset sarcophagus "Sarcophagus" complexity=4// a stone coffin on a plinth, its lid carved with the sleeping effigy of a dragon-slayer: hands// crossed on a sword, a little stone dragon curled at the feet. Candles burn at the front corners. The// coffin is hollow and someone in it is restless: the lid judders now and then, and on peek it grinds// aside, a skull with burning eyes rises from the dark and a bony hand hooks over the rim.let L = 2.1let stoneC = greystone:2|sandstone|rockCool|warmstonelet trimC = brass:2|iron|copperlet eyeC = lime:2|aqua|sunflowerlet flameC = sunflower:2|limelet deco = int(0..2)// plinth and the hollow coffin: two long walls, two end walls, a dark floor insidebox plinth size=(L+.3, .16, 1.12) round=.04 bev=2 bands=[.5:stoneC*.9] color=stoneC*.85box wallF on=plinth at=(0, .16, .41) size=(L, .72, .12) round=.03 bev=2 panels=3 stripes=[stoneC stoneC*.9] color=stoneCbox wallB on=plinth at=(0, .16, -.41) size=(L, .72, .12) round=.03 bev=2 color=stoneCbox wallE on=plinth at=(L/2-.06, .16, 0) mirror size=(.12, .72, .7) round=.03 color=stoneCbox bottom on=plinth at=(0, .16, 0) size=(L-.1, .3, .72) color=inkDarkbox rimTrim on=wallF at=(0, .66, .065) size=(L+.02, .05, .03) round=.01 color=trimCball roundel on=wallF at=(0, .36, .07) r=(.16, .16, .05) color=cream segs=10 rings=5ball rSocket on=roundel at=(.05, .02, .04) mirror r=(.035, .04, .02) color=inkDark segs=6 rings=4torus ring on=wallF at=(.62, .33, .08) mirror rot=(90, 0, 0) R=.09 r=.022 color=trimC segs=12 sides=5// the restless dead: a skull and a hand waiting in the darkball skull on=bottom at=(-.72, .44, 0) r=(.16, .15, .17) color=cream segs=12 rings=8 jointball socket on=skull at=(.06, .02, .13) mirror r=(.045, .05, .03) color=inkDark segs=8 rings=5ball glint on=socket at=(0, 0, .02) r=(.02, .022, .012) color=eyeC ink=glow segs=6 rings=4box jaw on=skull at=(0, -.15, .05) size=(.17, .07, .14) round=.03 color=creamrod neck on=skull at=(0, -.12, -.04) to=(0, -.42, -.02) r=.045 sides=6 color=creambox hand on=bottom at=(-.36, .33, .22) size=(.12, .06, .08) round=.02 color=cream jointtube 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// the lid and its effigybox lid on=wallF at=(0, .72, -.41) size=(L+.1, .14, 1.0) round=.04 bev=2 bands=[.5:stoneC*1.06] color=stoneC jointbox pillow on=lid at=(-.78, .14, 0) size=(.34, .08, .5) round=.04 color=stoneC*1.12ball head on=pillow at=(.02, .14, 0) r=(.15, .13, .14) color=stoneC*1.12 segs=10 rings=7box torso on=lid at=(-.12, .13, 0) size=(1.0, .17, .44) round=.08 bev=2 color=stoneC*1.12ball hands on=torso at=(-.12, .17, 0) r=(.1, .07, .12) color=stoneC*1.18 segs=10 rings=6ball pauldron on=torso at=(-.38, .12, .2) mirror r=(.13, .09, .1) color=stoneC*1.16 segs=8 rings=5ball nose on=head at=(.06, .1, 0) r=(.04, .04, .035) color=stoneC*1.12 segs=6 rings=4box sword on=torso at=(.08, .17, 0) size=(.9, .03, .07) round=.01 color=steelbox guard on=sword at=(-.24, 0, 0) size=(.04, .04, .26) round=.01 color=trimCball foot on=lid at=(.48, .16, .1) mirror rot=(0, 0, -20) r=(.1, .08, .07) color=stoneC*1.12 segs=8 rings=5// the little stone dragon curled at the effigy's feetball pup on=lid at=(.82, .14, 0) r=(.16, .11, .2) color=stoneC*1.08 segs=12 rings=7ball pupHead on=pup at=(-.02, .1, .17) r=(.08, .07, .09) color=stoneC*1.08 segs=10 rings=6cone pupHorn on=pupHead at=(.04, .06, -.02) mirror rot=(-50, 0, -15) h=.08 r=.022 color=stoneC*1.08 segs=5tube 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// deco by seed: a wreath of dead roses, iron chains, mosspuff 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==0torus 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==1puff moss x3 on=plinth at=(0, .14, .5) row=(.8, 0, 0) r=.14 color=moss segs=7 rings=4 if=deco==2// candles at the front cornerscyl candle on=plinth at=(1.07, .16, .48) mirror h=.24 r=.045 color=cream segs=8ball drip on=candle at=(0, .2, 0) r=(.055, .03, .055) color=cream segs=8 rings=4ball flame on=candle at=(0, .31, 0) r=(.035, .065, .035) color=flameC ink=glow segs=8 rings=5 jointfx peek: puff on=wallE at=(0, .9, 0) n=4 spread=.3 hz=1// idle: the lid judders now and then, candles flicker, the eyes in the dark breatheanim lid rz keys=[0:0 .8:0 .84:1.2 .88:-.8 .92:.6 1:0] hz=.2anim flame s sin amp=.18 hz=2.6anim skull ry sin amp=12 hz=.3// peek: the lid grinds aside, the skull rises and looks round, the hand hooks the rimanim peek: lid px keys=[0:0 .2:.7 .8:.7 1:0] hz=.25anim peek: lid ry keys=[0:0 .2:-12 .8:-12 1:0] hz=.25anim peek: skull py keys=[0:0 .15:0 .35:.5 .7:.5 .9:0 1:0] hz=.25anim peek: skull ry keys=[0:0 .35:0 .45:30 .55:-30 .65:0 1:0] hz=.25anim peek: hand py keys=[0:0 .2:0 .35:.46 .75:.46 .9:0 1:0] hz=.25
Clean: no issues on this seed.
Loading
seed
Shapes— / 70
Triangles— / 6,000
Draw calls— / 4