Playground
From mossnail · 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
asset mossnail "Mossnail" complexity=4// a chibi moss snail: a soft squat foot, a big round head with huge eyes, two stubby// mushroom antennae, and a fat rounded spiral shell carpeted with moss puffs on top.// three colourways: meadow (peach and oak), dusk (lilac and terracotta) and a rare shiny (sky and gold with pink moss)let S = .92..1.08let eyeS = .22..0.27let cw = 0:5|1:5|2:1let bodyC = sel(cw, peach, lilac, sky)let soleC = sel(cw, cream, white, white)let shellC = sel(cw, oak, terracotta, sunflower)let coilC = sel(cw, cream, cream, white)let mossC = sel(cw, leafB, moss, blossomPink)let capC = sel(cw, cherry, marigold, bubblegum)let spotC = sel(cw, cream, white, white)// the foot: the root bone, a squat slug body with a pale soleball body at=(0, .1*S, 0) scale=S r=(.18, .11, .34) color=bodyC under=soleC segs=22 rings=14 jointball tail on=body at=(0, -.03, -.3) r=(.1, .065, .13) color=bodyC under=soleC segs=12 rings=8 jointball nub x3 on=body row=(0, 0, .18) at=(.15, -.065, -.02) mirror r=(.05, .045, .065) color=bodyC*.9 segs=8 rings=5 joint// the big head, raised at the front of the football head on=body at=(0, .17, .25) r=(.17, .16, .15) color=bodyC segs=20 rings=14 joint// the shell: a fat rounded disc on its side, a raised spiral on each face, moss on topcyl shell on=body at=(-.14, .24, -.1) rot=(0, 0, -90) h=.28 r=.22 round=.09 cap=shellC color=shellC segs=24tube coil on=body at=(.152, .24, -.1) mirror scale=.38 pts=[0,.42,.21 0,.26,.37 0,.05,.42 0,-.15,.37 0,-.29,.24 0,-.34,.08 0,-.32,-.09 0,-.22,-.21 0,-.09,-.27 0,.05,-.26 0,.15,-.19 0,.19,-.09 0,.19,.01 0,.14,.09 0,.07,.12 0,0,.12 0,-.04,.08] r=(.09, .06) smooth sides=6 detail=.5 color=coilCpuff moss x3 on=body row=(0, 0, .12) at=(0, .435, -.1) r=(.11, .07, .085) color=mossC segs=10 rings=7// mushroom antennae: stubby stalks with spotted capsrod stalk on=head at=(.07, .11, 0) mirror to=(.05, .15, .02) r=(.028, .022) sides=8 color=bodyC jointball mcap on=stalk at=end+(0, -.01, 0) half r=(.075, .055, .075) color=capC segs=12 rings=6ball dot on=mcap at=(0, .052, 0) r=(.022, .012, .022) color=spotC ink=thin segs=6 rings=4ball side on=mcap at=(.045, .03, .02) mirror r=(.018, .012, .018) color=spotC ink=thin segs=6 rings=4// the face: huge round eyes, a small smile; blush only on the warm colourwaysface look on=head if=cw<2 eyes=round mouth=smile size=eyeS spacing=27 eyeY=8 mouthY=-30 mouthW=.3 blush detail=.7face lookB on=head if=cw==2 eyes=round mouth=smile size=eyeS spacing=27 eyeY=8 mouthY=-30 mouthW=.3 detail=.7// idle: antennae sway, the head bobs a little, the body breathesanim idle: stalk rz sin amp=12 hz=.5 twin=.5anim idle: stalk rx sin amp=6 hz=.35anim idle: head nod amp=4 hz=.4anim idle: body breathe amp=.025 hz=.3// crawl: the foot stretches (head forward, tail back) then gathers, a ripple runs down the nubsanim crawl: head pz keys=[0:0 .5:.045 1:0] hz=1anim crawl: tail pz keys=[0:0 .5:-.035 1:0] hz=1anim crawl: body breathe amp=.03 hz=1anim crawl: nub py sin amp=.015 hz=2 stagger=.33anim crawl: stalk rx keys=[0:0 .5:-14 1:0] hz=1
Clean: no issues on this seed.
Loading
seed
Shapes— / 70
Triangles— / 6,000
Draw calls— / 4