Playground
From tidlet · 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
57
58
asset tidlet "Tidlet" complexity=4// a tide blob: a fat jelly drop sitting in its own little puddle rim, its tip rising into a// curling wave crest with a foam ball, round bubble cheeks, stubby fin hands, big eyes,// and a little gold crown ringing the base of the crest.// colourways: all bright orange; ocean (common), lagoon (common), rare shiny trimslet S = .9..1.1let CR = .9..1.15let shiny = chance(.1)let alt = chance(.5)let cw = shiny*2 + (1-shiny)*altlet bodyC = sel(cw, tangerine:2|flowerOrange, fruitOrange:2|tangerine, tangerine)let crestC = sel(cw, white:2|foam, cream:2|white, lemon)let bellyC = sel(cw, cream, peach, sunflower)let accC = sel(cw, cobalt, bottle, plum)let cheekC = sel(cw, foam, white, white)let crownC = sunflower:2|marigold|brass// body: the jelly drop, the root bonelathe body h=.5*S r=.26*S prof=[0:.82 .08:1 .35:1.06 .62:.86 .84:.48 1:.14] color=bodyC segs=24 rings=12 jointtorus rim on=body at=(0, .045*S, 0) R=.215*S r=.045*S color=bodyC*.9 segs=28 sides=8ball belly on=body surf=(0, -32) lift=-.045*S r=(.13, .08, .05)*S color=bellyC segs=14 rings=8// the wave-curl crest: rises from the tip, rolls forward and tucks under, foam at the curl// (sized by scale=, so the radius is divided back by CR to keep its thickness)tube crest on=body at=(0, .46*S, 0) scale=S*CR pts=[0,0,0 0,.1,-.03 0,.19,-.01 0,.24,.06 0,.21,.13 0,.14,.14 0,.11,.09] r=(.065, .03)/CR smooth sides=8 color=bodyC jointball foam on=crest at=(0, .1, .1) r=.04/CR color=crestC segs=12 rings=8// the little crown: a gold band sunk round the top of the drop (its top 2 cm above the tip), five stubby pointscyl crown on=body at=(0, .43*S, 0) h=.09*S r=.1*S r2=.11*S round=.012*S color=crownC segs=14cone point x5 on=crown ring at=(.095*S, .08*S, 0) h=.05*S r=.024*S color=crownC segs=6ball gem on=crown surf=(0, 20) lift=-.008*S r=.02*S color=cherry segs=8 rings=5// bubble cheeks with a tiny shineball cheek on=body surf=(52, -8) lift=-.025*S mirror r=.06*S color=cheekC segs=12 rings=8ball shine on=cheek at=(.015*S, .025*S, .045*S) r=.018*S color=white segs=6 rings=4// fin hands and nub feetball fin on=body surf=(90, -10) lift=-.03*S mirror r=(.05, .08, .035)*S color=bodyC*.92 segs=12 rings=8 jointball foot on=body at=(.11*S, .04*S, .13*S) mirror r=(.07, .04, .07)*S color=accC segs=12 rings=8// the face: big readable eyesface look on=body eyes=round mouth=smile size=.3 spacing=26 eyeY=14 mouthY=-11 mouthW=.3 iris=accC detail=.7// splash: droplets bursting at the base and spray off the crestfx splash: splash on=body at=(0, .03*S, 0) n=12 speed=1.6 spread=60 hz=1.4fx splash: jet on=crest at=end speed=1.2 spread=30 hz=1.5 n=10 size=.035// idle: a squashy bob and a lazy crest rollanim idle: body py bounce amp=.025 hz=1anim idle: body s sin amp=.04 hz=1anim idle: crest rz sin amp=6 hz=.5anim idle: fin rz sin amp=10 hz=.8 twin=.5// splash: big happy hops, fins up, crest whipsanim splash: body py bounce amp=.16 hz=1.4anim splash: body s sin amp=.06 hz=2.8anim splash: fin rz keys=[0:0 .4:60 .7:60 1:0] hz=1.4anim splash: crest rx keys=[0:0 .3:-18 .6:14 1:0] hz=1.4
Clean: no issues on this seed.
Loading
seed
Shapes— / 70
Triangles— / 6,000
Draw calls— / 4