Playground
From dungeon_slime · 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
asset dungeon_slime "Dungeon slime" complexity=3// a jelly slime: a fat glossy drop with a curled tip, sitting in its own little puddle, big eyes and// a grin, a glint on its shoulder. Some wear a victim's dented helmet, some have a coin stuck on top.// It wobbles at rest; on hop it squashes, springs up and lands with a splat.let S = .9..1.12let slimeC = lime:3|mint:2|aqua|bubblegum|grape:.5let helm = int(0..3)// the puddle and the bodycyl puddle h=.03 r=.36*S color=slimeC*.82 segs=32lathe body at=(0, .015, 0) h=.52*S r=.32*S prof=[0:.86 .12:1 .45:.88 .78:.5 .92:.22 1:0] bend=12 color=slimeC segs=32 rings=20 jointball drip x3 on=puddle ring ring0=20 at=(.3*S, .02, 0) r=(.07, .045, .07)*S color=slimeC segs=8 rings=5face look on=body eyes=round:3|dot mouth=grin:2|open|fang size=.34 spacing=30 eyeY=4 mouthY=-24 mouthW=.42 iris=inkDark detail=.6ball shine on=body at=(-.13, .3, .17)*S r=(.05, .07, .035)*S color=white ink=none segs=8 rings=5ball shine2 on=body at=(-.19, .2, .13)*S r=.025*S color=white ink=none segs=6 rings=4// a souvenir on top, by seedball helmet on=body at=(.04, .33*S, -.03) rot=(0, 0, -18) r=(.17, .1, .17)*S half color=iron segs=14 rings=6 if=helm==0torus brim on=helmet at=(0, .004, 0) R=.17*S r=.018 color=iron*1.3 segs=16 sides=5cyl coin on=body at=(.06, .4*S, .03) rot=(70, 0, 10) h=.025 r=.07*S color=sunflower cap=marigold segs=12 if=helm==1// idle wobble; hop: squash, spring, splatanim body s sin amp=.05 hz=.9anim body rz sin amp=3 hz=.45anim hop: body py keys=[0:0 .15:-.04 .45:.32 .75:0 .85:-.03 1:0] hz=1.3anim hop: body s keys=[0:0 .15:.12 .45:-.06 .8:.14 1:0] hz=1.3
Clean: no issues on this seed.
Loading
seed
Shapes— / 45
Triangles— / 4,500
Draw calls— / 3