Playground
From driplet · 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
asset driplet "Driplet" complexity=4// a water starter: a plump seal pup lying on its belly, a big round head with a dark button nose,// a water-drop crest on its brow, front flippers that pat the ground, a two-lobed tail fluke and a// few darker dapples. Colourways: sky blue, aqua, and a rare shiny pink.// States: idle (head bob, flipper pats), splash (a fountain from the crest, flippers clapping),// waddle (a rocking flipper shuffle while it travels).let S = .92..1.08let shiny = chance(.08)let alt = chance(.45)let way = shiny*2 + (1-shiny)*altlet coatC = sel(way, sky, aqua, bubblegum)let bellyC = sel(way, cream, white, cream)let dapC = sel(way, cobalt, teal, coral)let dropC = sel(way, waterLight, sky, lilac)let eyeC = sel(way, navy, navy, plum)// body: lying on its belly, the root boneball body at=(0, .16*S, 0) r=(.17, .145, .25)*S color=coatC under=bellyC segs=20 rings=12 jointball dapple on=body surf=(150, 50) lift=-.05*S mirror r=(.06, .04, .07)*S color=dapC segs=10 rings=6ball dapple2 on=body surf=(180, 30) lift=-.05*S r=(.05, .035, .05)*S color=dapC segs=10 rings=6// the headball head on=body at=(0, .14*S, .19*S) r=(.18, .16, .16)*S color=coatC under=bellyC segs=22 rings=14 jointball muzzle on=head surf=(0, -24) upright lift=-.08*S r=(.1, .06, .07)*S color=bellyC segs=12 rings=7ball nose on=muzzle surf=(0, 30) upright lift=-.015*S r=(.032, .024, .022)*S color=inkDark segs=8 rings=5face look on=head eyes=round mouth=cat size=.28 spacing=31 eyeY=12 mouthY=-36 mouthW=.22 iris=eyeC detail=.7// the water-drop crest on its browball drop on=head surf=(0, 62) lift=-.03*S r=.06*S color=dropC segs=12 rings=8 jointcone dropTip on=drop at=(0, .03*S, 0) h=.09*S r=.05*S color=dropC segs=10// front flippers and the tail flukeball flipper on=body surf=(76, -42) lift=-.01*S mirror roll=-20 r=(.11, .03, .085)*S color=coatC*.9 segs=12 rings=6 jointball tail on=body at=(0, -.04*S, -.22*S) r=(.08, .06, .09)*S color=coatC segs=12 rings=7 jointball fluke on=tail at=(.06*S, -.02*S, -.07*S) mirror yaw=30 r=(.07, .025, .045)*S color=coatC*.9 segs=10 rings=6// splash: a fountain from the crestfx splash: jet on=drop at=(0, .1*S, 0) speed=1.9 spread=10 hz=1.4 n=14 size=.035// idle: head bob and tilt, flipper pats, tail flickanim idle: head rx sin amp=6 hz=.45anim idle: head rz sin amp=5 hz=.25anim idle: flipper rz keys=[0:0 .15:-18 .3:0 1:0] hz=.5 twin=.5anim idle: tail ry sin amp=14 hz=.7anim idle: body breathe// splash: chin up, flippers clap, the drop swellsanim splash: head rx keys=[0:0 .2:-18 .8:-18 1:0] hz=.7anim splash: flipper rz sin amp=30 hz=3anim splash: drop s keys=[0:0 .2:.25 .8:.25 1:0] hz=.7anim splash: tail rx sin amp=14 hz=1.5// waddle: a rocking flipper shuffleanim waddle: body rz sin amp=7 hz=1.8anim waddle: body py bounce amp=.02 hz=3.6anim waddle: flipper rx sin amp=25 hz=1.8 twin=.5anim waddle: tail ry sin amp=20 hz=1.8
Clean: no issues on this seed.
Loading
seed
Shapes— / 70
Triangles— / 6,000
Draw calls— / 4