Playground
From mistmoth · 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
asset mistmoth "Mistmoth" complexity=4 float// a fluffy chibi moth that hovers: a round fuzzy body with a puffy collar, a big head with huge eyes,// two feather antennae, and broad upper and lower wings marked with a crescent moon on each upper wing.// Three colourways: dawn (cream/lilac), dusk (lilac/sky) and a rare shiny (mint/sunflower).let S = .92..1.08let WS = .92..1.12let k = max(int(0..1), chance(.12)*2)let fluffC = sel(k, cream, lilac, mint)let trimC = sel(k, white, cream, white)let wingC = sel(k, lilac, sky, sunflower)let patC = sel(k, plum, navy, coral)let popC = sel(k, sunflower, peach, bubblegum)// body: the root bone, hovering a little off the groundball body at=(0, .34*S, 0) r=(.2, .22, .19)*S color=fluffC under=trimC segs=20 rings=12 jointpuff collar x6 on=body ring=10 at=(.15*S, .13*S, 0) r=(.075, .065, .075)*S color=trimC segs=8 rings=6ball tuft on=body at=(0, -.06*S, -.17*S) r=(.09, .08, .08)*S color=fluffC segs=10 rings=7// head: big and round, sunk into the collarball head on=body at=(0, .27*S, .03*S) r=(.19, .18, .17)*S color=fluffC segs=20 rings=12 jointface look on=head eyes=round mouth=smile size=.3 spacing=27 eyeY=6 mouthY=-30 mouthW=.25 iris=patC blush detail=.7 if=k<2face lookS on=head eyes=round mouth=smile size=.3 spacing=27 eyeY=6 mouthY=-30 mouthW=.25 iris=patC detail=.7 if=k==2// feather antennaerod stalk on=head at=(.06*S, .14*S, .04*S) mirror to=(.06, .12, .03)*S r=.012*S sides=6 color=patC jointslab feather on=stalk at=end+(0, -.01*S, 0) roll=-18 scale=S pts=[0,0 .055,.06 .05,.16 0,.23 -.05,.16 -.055,.06] t=.025 round=.01 color=popC edge=patC// wings: broad upper wings with a crescent moon, small lower wings with a dot (scale carries S*WS to the markings)slab wing on=body at=(.12*S, .06*S, -.1*S) mirror yaw=22 roll=8 scale=S*WS pts=[0,-.04 .15,-.06 .32,0 .41,.14 .37,.29 .22,.33 .08,.21 0,.07] t=.04 round=.015 color=wingC edge=patC jointball moon on=wing at=(.25, .15, 0) r=(.075, .075, .03) color=popC segs=10 rings=6ball shadow on=wing at=(.285, .175, 0) r=(.06, .065, .036) color=wingC segs=10 rings=6slab hindwing on=body at=(.1*S, -.06*S, -.11*S) mirror yaw=28 roll=-6 scale=S*WS pts=[0,.02 .1,-.1 .24,-.2 .3,-.13 .24,-.02 .1,.05] t=.035 round=.012 color=wingC edge=patC jointball dot on=hindwing at=(.2, -.11, 0) r=(.04, .04, .028) color=patC segs=8 rings=6// stubby legs and tiny armslimb leg on=body at=(.08*S, -.15*S, .05*S) mirror roll=8 len=.1*S r=(.045, .04)*S color=patC segs=8 jointlimb arm on=body at=(.15*S, -.01*S, .1*S) mirror rot=(-30, 0, 20) len=.08*S r=(.04, .035)*S color=fluffC segs=8 joint// dust: moon-dust sparkles round the body and off each wingfx dust: sparkle on=body n=12 spread=.45 size=.03 color=popC color2=whitefx dust: sparkle on=wing at=(.25, .15, 0) n=6 spread=.12 size=.025 color=trimC color2=popC// idle: a soft wing flutter, a hover bob, antennae and head swayanim idle: wing flap amp=28 hz=3anim idle: hindwing flap amp=20 hz=3 phase=.12anim idle: body bob amp=.03 hz=.9anim idle: stalk rz sin amp=8 hz=.7 twin=.5anim idle: head sway amp=4 hz=.4anim idle: leg rx sin amp=10 hz=.9 twin=.5// dust: a happy spin with fast wings, arms flung outanim dust: body ry spin hz=1.1anim dust: body py sin amp=.05 hz=1.1anim dust: wing flap amp=40 hz=5anim dust: hindwing flap amp=30 hz=5 phase=.1anim dust: arm rz keys=[0:0 .3:70 .7:70 1:0] hz=1.1anim dust: stalk rx sin amp=14 hz=2.2
Clean: no issues on this seed.
Loading
seed
Shapes— / 70
Triangles— / 6,000
Draw calls— / 4