Playground
From coralcub · 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
asset coralcub "Coral cub" complexity=4// a chibi bear cub grown from a reef: a round body on stubby legs, a big round head with// round ears, two branching coral horns with knobbly tips, and a seafoam belly. Big eyes.// Colourways: 0 classic coral, 1 sunset peach, 2 rare shiny lilac with golden coral.let S = .92..1.08let HS = .95..1.08let shiny = chance(.08)let alt = chance(.5)let cw = shiny*2 + (1-shiny)*altlet coatC = sel(cw, coral, peach, lilac)let bellyC = sel(cw, mint, aqua, foam)let hornC = sel(cw, tomato, bubblegum, sunflower)let tipC = sel(cw, pink, coral, white)let eyeC = sel(cw, navy, teal, grape)let hornL = .9..1.15// body: the root bone on two stubby legsball body at=(0, .25*S, 0) r=(.17, .18, .155)*S color=coatC segs=20 rings=12 jointball belly on=body surf=(0, -10) upright lift=-.08*S r=(.12, .13, .07)*S color=bellyC segs=12 rings=8limb leg on=body at=(.085*S, -.12*S, 0) mirror len=.075*S r=(.062, .06)*S color=coatC segs=10 jointball pad on=leg at=end+(0, .02*S, .03*S) r=(.05, .03, .05)*S color=bellyC segs=8 rings=5ball tail on=body surf=(180, -15) upright lift=-.03*S r=.055*S color=bellyC segs=10 rings=6// head: big and round, a third of the height and moreball head on=body at=(0, .24*S, .02*S) r=(.2, .185, .18)*S*HS color=coatC segs=24 rings=14 jointball ear on=head surf=(58, 38) lift=-.035*S mirror r=(.07, .07, .04)*S color=coatC segs=10 rings=6ball inner on=ear at=(0, 0, .02*S) r=(.042, .042, .03)*S color=bellyC segs=8 rings=5ball nose on=head surf=(0, -10) upright lift=-.01*S r=(.03, .022, .02)*S color=inkDark ink=thin segs=8 rings=5face look on=head eyes=round mouth=smile size=.27 spacing=30 eyeY=14 mouthY=-28 mouthW=.28 iris=eyeC blush detail=.6// branching coral horns: a trunk, two side branches, round knobbly tipscone horn on=head surf=(26, 62) lift=-.02*S mirror h=.15*S*hornL r=.036*S r2=.018*S color=hornC segs=8 jointcone twigA on=horn at=(0, .06*S*hornL, 0) roll=-50 h=.08*S r=.022*S r2=.012*S color=hornC segs=7cone twigB on=horn at=(0, .1*S*hornL, 0) roll=45 h=.065*S r=.02*S r2=.011*S color=hornC segs=7ball knob on=horn at=end r=.025*S color=tipC segs=8 rings=5ball knobA on=twigA at=end r=.018*S color=tipC segs=8 rings=5ball knobB on=twigB at=end r=.017*S color=tipC segs=8 rings=5// arms: written apart so the waving arm can move alonelimb arm on=body at=(.15*S, .07*S, .02*S) roll=18 len=.09*S r=(.052, .046)*S color=coatC segs=10 jointball paw on=arm at=end r=.045*S color=bellyC segs=8 rings=5limb armR on=body at=(-.15*S, .07*S, .02*S) roll=-18 len=.09*S r=(.052, .046)*S color=coatC segs=10 jointball pawR on=armR at=end r=.045*S color=bellyC segs=8 rings=5// idle: slow breath, a gentle head nod and horn swayanim idle: body breathe amp=.04anim idle: head nod amp=4 hz=.4anim idle: horn rz sin amp=4 hz=.5 twin=.5// wave: the left arm swings up and waves, the head tilts to greetanim wave: arm rz keys=[0:18 .2:150 .35:120 .5:155 .65:120 .8:150 1:18] hz=.6anim wave: head rz keys=[0:0 .2:-8 .8:-8 1:0] hz=.6anim wave: body breathe amp=.03
Clean: no issues on this seed.
Loading
seed
Shapes— / 70
Triangles— / 6,000
Draw calls— / 4