Playground
From smokit · 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
asset smokit "Smokit" complexity=4 float// a soot-sprite kitten that floats: a round smoky body under a big round head, tufted ears with// glowing insides, huge ember-ringed eyes, a glowing ember collar with beads, smoke-puff fluff// round the belly, stubby nub paws and a curling wisp tail with an ember tip.// colourways: soot (common), ash (common), rare shiny (lilac with aqua embers)let S = .92..1.08let earS = .9..1.15let shiny = chance(.1)let ash = chance(.45)let way = shiny*2 + (1-shiny)*ashlet coatC = sel(way, iron:3|granite|tyre, greystone:2|concrete|silver, lilac:2|grape|bubblegum)let emberC = sel(way, tangerine:3|marigold|tomato, sunflower:2|lemon|marigold, aqua:2|mint|sky)let fluffC = light(coatC, .1)let pawC = light(coatC, .18)// body: the floating root boneball body at=(0, .3*S, 0) r=(.19, .17, .18)*S color=coatC segs=16 rings=10 jointpuff fluff x5 on=body ring=12 surf=(0, -18) upright lift=-.05*S r=(.09, .075, .09)*S color=fluffC segs=10 rings=6ball paw x2 on=body row=(0, 0, .14*S) at=(.08*S, -.14*S, 0) mirror r=(.05, .04, .05)*S color=pawC segs=8 rings=5// big chibi headball head on=body at=(0, .24*S, .02*S) r=(.22, .2, .19)*S color=coatC segs=20 rings=14 jointpuff tuft x3 on=head ring=15 ring0=60 surf=(0, 66) upright lift=-.05*S r=(.075, .06, .075)*S color=fluffC segs=10 rings=6cone ear on=head surf=(32, 48) lift=-.035*S mirror h=.15*S*earS r=.075*S r2=.012*S depth=.6 color=coatC segs=10cone inner on=ear at=(0, .012*S, .02*S) h=.1*S*earS r=.045*S r2=.008*S depth=.45 color=emberC ink=glow segs=8face look on=head eyes=round mouth=cat size=.3 spacing=27 eyeY=2 mouthY=-28 mouthW=.28 iris=emberC skin=coatC detail=.65// the ember collar ring with glowing beadstorus collar on=body at=(0, .06*S, 0) R=.18*S r=.028*S color=emberC ink=glow segs=24 sides=6ball bead x6 on=collar ring ring0=30 at=(.18*S, 0, 0) r=.035*S color=emberC ink=glow segs=8 rings=5// the wisp tail: tapering smoke links curling up, an ember at the tipball tail x4 on=body at=(0, -.02*S, -.16*S) chain=(0, .07*S, -.05*S) rot=(-30, 0, 0) scale=.85 r=(.07, .07, .08)*S color=fluffC segs=10 rings=6 jointball tip on=tail at=(0, .07*S, -.03*S) r=.045*S color=emberC ink=glow segs=8 rings=5 if=i==3// puff: a burst of soot smoke as it shakes and half-vanishesfx puff: smoke on=body at=(0, .05, 0) n=8 hz=.8 speed=.8 spread=70 size=.08 grow=2.6 color=coatC color2=fluffC// idle: float, curl the tail, look aboutanim idle: body bob amp=.04 hz=.6anim idle: tail rx sin amp=12 hz=.7 stagger=.12anim idle: tail wag amp=14 hz=.9 stagger=.1anim idle: head sway amp=5 hz=.3// puff: shrink into the smoke with a fast shiver, then pop backanim puff: body s keys=[0:0 .3:-.28 .55:.12 1:0] hz=1.4anim puff: body rz sin amp=9 hz=7anim puff: head rx sin amp=6 hz=7 phase=.25anim puff: tail rx sin amp=25 hz=3 stagger=.15
Clean: no issues on this seed.
Loading
seed
Shapes— / 70
Triangles— / 6,000
Draw calls— / 4