Playground
From mimic_chest · 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
asset mimic_chest "Mimic" complexity=5// a treasure chest that is secretly a monster: the same banded wooden box, but its lid is a jaw lined// with fangs, a fat purple tongue lolls out over the lip, two eyes peer from under the lid's rim and// it stands on four stubby clawed legs. At rest it breathes with the lid ajar and the tongue sways;// on chomp it snaps its lid open and shut, tongue flailing, hopping on the spot.let S = .95..1.1let woodC = oak:2|walnut:2|redwood|honeylet bandC = iron:3|brass|copperlet tongueC = grape:2|bubblegum|plumlet eyeC = sunflower:2|lime|tomato// the box, its straps, studs and a lock platebox chest at=(0, .16, 0) size=(.92, .46, .6)*S round=.05 bev=2 stripes=[woodC woodC*.86] panels=5 color=woodC jointbox strap x2 on=chest at=(0, .006, 0) row=(.6, 0, 0)*S size=(.08, .44, .64)*S round=.02 color=bandCball stud x3 on=strap at=(0, .1, .315*S) row=(0, .12, 0) r=.022 color=bandC*1.3 segs=6 rings=4box plate on=chest at=(0, .22*S, .3*S) size=(.16, .18, .04)*S round=.02 color=brassbox keyhole on=plate at=(0, .05, .025) size=(.03, .07, .02) round=.01 color=inkDark// the mouth inside the box, the bottom fangs and the tonguebox maw on=chest at=(0, .3*S, 0) size=(.8, .17, .5)*S round=.04 color=plum*.6cone fangB x5 on=chest at=(0, .43*S, .27*S) row=(.17, 0, 0)*S h=.1 r=.04 color=white segs=6tube tongue on=chest at=(0, .44*S, .1) pts=[0, 0, 0 0, .06, .2 0, .02, .36 0, -.14, .42 0, -.3, .4] r=(.075, .06) smooth sides=10 scale=(1.7, 1, 1) color=tongueC joint// four stubby legs with clawslimb leg x2 on=chest at=(.36, .02, 0)*S mirror row=(0, 0, .42*S) rot=(0, 0, -18) len=.14 r=(.06, .05) color=woodC*.8 segs=8cone claw x3 on=leg at=end+(0, -.03, .04) ring=0 ring0=-30 rot=(70, 0, 0) h=.06 r=.025 color=cream segs=5// the lid jaw: hinged at the back, fangs on its lip, eyes peering under its rimbox hinge on=chest at=(0, .46*S, -.27*S) size=(.9, .03, .05)*S round=.01 color=bandC jointbox lid on=hinge at=(0, 0, .29*S) size=(.94, .14, .62)*S round=.05 bev=2 color=woodCball dome on=lid at=(0, .13*S, 0) r=(.46, .17, .3)*S half stripes=[woodC woodC*.86] panels=5 color=woodC segs=28 rings=10box lstrap x2 on=lid at=(0, .006, 0) row=(.6, 0, 0)*S size=(.08, .16, .64)*S round=.02 color=bandCcone fangT x6 on=lid at=(0, .01, .27*S) row=(.15, 0, 0)*S rot=(180, 0, 0) h=.11 r=.04 color=white segs=6ball eye on=lid at=(.22, .2, .29)*S mirror r=(.085, .095, .06)*S color=white segs=12 rings=8ball pupil on=eye at=(0, -.01, .05) r=(.035, .055, .02)*S color=eyeC ink=glow segs=8 rings=5ball brow on=eye at=(0, .07, .01) rot=(0, 0, -20) r=(.09, .03, .05)*S color=inkDark segs=8 rings=4// idle: a slow breath with the lid ajar, tongue swayinganim hinge rx sin amp=6 hz=.4 phase=.25anim tongue rx sin amp=8 hz=.7anim tongue ry sin amp=12 hz=.5// chomp: snap, snap, snap, hopanim chomp: hinge rx keys=[0:-5 .15:-50 .3:-2 .45:-55 .6:-2 .75:-45 1:-5] hz=1.1anim chomp: chest py keys=[0:0 .3:.07 .45:0 .6:.06 .75:0 1:0] hz=1.1anim chomp: tongue rx sin amp=25 hz=3.3
Clean: no issues on this seed.
Loading
seed
Shapes— / 100
Triangles— / 8,000
Draw calls— / 4