Playground
From shellmite · 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
asset shellmite "Shellmite" complexity=4// an original hermit-crab critter: a round soft body peeking out of a big pastel spiral shell,// googly eyes on stalks, two chunky snapping claws, three pairs of short splayed legs.// Readable from far: the tall banded shell plus two fat claws. Three colourways: candy, minty, rare shiny.let S = .92..1.1let CL = .95..1.15let SH = .95..1.12// colourway gene: 0 candy, 1 minty (common), 2 shiny (rare ~11%)let cw = int(0..2.25)let shellA = sel(cw, bubblegum, mint, lemon)let shellB = sel(cw, lilac, aqua, white)let bodyC = sel(cw, coral, peach, lilac)let clawC = sel(cw, tomato, tangerine, grape)let trim = cream:3|white// body: the root bone, a soft round crab bodyball body at=(0, .2*S, .04*S) r=(.17, .14, .16)*S color=bodyC under=trim segs=20 rings=12 joint// the spiral shell on its back, leaning back, banded whorls with a twistlathe shell on=body at=(0, .07*S, -.1*S) tilt=-35 h=.44*S*SH r=.2*S prof=[0:.8 .2:1 .45:.85 .7:.5 .9:.2 1:.04] lean=(.05, -.02)*S bands=[.2:shellB .26:shellA .45:shellB .51:shellA .68:shellB .74:shellA .88:shellB] color=shellA segs=20 rings=14torus lip on=shell at=(0, .01*S, 0) R=.16*S r=.04*S color=trim segs=20 sides=8// eyes on stalks: big, white, readablerod stalk on=body at=(.06*S, .1*S, .09*S) mirror to=(.03, .12, .02)*S r=(.026, .022)*S sides=8 color=bodyC jointball eye on=stalk at=end r=.075*S color=white segs=12 rings=8ball pupil on=eye surf=(8, 6) decal lift=-.02*S r=(.042, .05, .025)*S color=inkDark ink=none segs=8 rings=5ball glint on=pupil at=(.012*S, .018*S, .02*S) r=.013*S color=white ink=none segs=6 rings=4face grin on=body eyes=none mouth=smile mouthY=-12 mouthW=.35// chunky claws: a short arm, a fat palm, a fixed upper pincer and a snapping lower fingerrod arm on=body at=(.1*S, 0, .08*S) mirror to=(.09, .01, .06)*S r=.035*S sides=8 color=clawCball claw on=body at=(.2*S, .02*S, .16*S) mirror r=(.085, .075, .1)*S*CL color=clawC segs=14 rings=10 jointcone pinch on=claw at=(0, .02*S, .05*S) rot=(80, 0, 0) h=.11*S*CL r=.05*S*CL r2=.012*S depth=.7 color=clawC segs=10cone finger on=claw at=(0, -.03*S, .04*S) rot=(108, 0, 0) h=.09*S*CL r=.036*S*CL r2=.01*S depth=.7 color=trim segs=10 joint// three pairs of short splayed legs with pale sockslimb leg x3 on=body row=(0, 0, .08*S) at=(.13*S, -.06*S, -.03*S) mirror roll=40 len=.14*S r=(.03, .022)*S bands=[.6:trim] color=clawC segs=8 joint// idle: breathe, glance about, snap snap with the clawsanim idle: body breatheanim idle: stalk rz sin amp=8 hz=.5 twin=.5anim idle: claw rx sin amp=6 hz=.4 twin=.5anim idle: finger rx keys=[0:0 .12:-24 .24:0 .36:-24 .48:0 1:0] hz=.9 twin=.5// scuttle: a quick side-step, legs rippling, claws held up, body shuffling sidewaysanim scuttle: leg rz sin amp=20 hz=3 twin=.5 stagger=.33anim scuttle: body px sin amp=.04 hz=1.5anim scuttle: body py bounce amp=.015 hz=3anim scuttle: claw rx keys=[0:-15 .5:-25 1:-15] hz=1.5 twin=.5anim scuttle: finger rx keys=[0:0 .5:-20 1:0] hz=3 twin=.5anim scuttle: stalk rz sin amp=12 hz=1.5 twin=.5
Clean: no issues on this seed.
Loading
seed
Shapes— / 70
Triangles— / 6,000
Draw calls— / 4