Playground
From zapkit · 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
asset zapkit "Zapkit" complexity=4// a spark kit: a chibi fox-ish quadruped with huge ears, puffed cheeks with lightning marks,// a fat zigzag bolt tail; idle twitches its ears and wags, zap spins it in a shower of sparkslet S = .92..1.08let earS = .9..1.15let TL = .9..1.12// colourways: 0 sunny, 1 ember, 2 rare shinylet shiny = chance(.08)let alt = chance(.5)let way = shiny*2 + (1-shiny)*altlet coatC = sel(way, sunflower, tangerine, sky)let paleC = sel(way, cream, cream, white)let tipC = sel(way, walnut, inkDark, navy)let boltC = sel(way, cherry, lemon, bubblegum)let eyeC = sel(way, walnut, navy, plum)// body: root bone on four short socked legsball body at=(0, .27*S, 0) r=(.15, .14, .2)*S color=coatC under=paleC segs=20 rings=12 jointlimb leg x2 on=body row=(0, 0, .22*S) at=(.085*S, -.02*S, 0) mirror len=.2*S r=(.055, .048)*S bands=[.62:tipC] color=coatC segs=10 jointball ruff on=body surf=(0, 25) upright lift=-.07*S r=(.11, .1, .08)*S color=paleC segs=12 rings=8// big head with fluffy cheeks and a small muzzleball head on=body at=(0, .19*S, .17*S) r=(.2, .18, .17)*S color=coatC under=paleC segs=22 rings=14 jointball fluff on=head surf=(80, -22) upright lift=-.08*S mirror r=(.08, .065, .075)*S color=coatC segs=12 rings=7ball muzzle on=head surf=(0, -28) upright lift=-.07*S r=(.09, .06, .07)*S color=paleC segs=12 rings=7ball nose on=muzzle surf=(0, 25) upright lift=-.012*S r=(.026, .02, .02)*S color=inkDark segs=8 rings=5face look on=head eyes=round mouth=cat size=.26 spacing=27 eyeY=8 mouthY=-32 mouthW=.25 iris=eyeC detail=.8// lightning cheek marks, lying on the cheeks (sized with scale=)slab spark on=head surf=(52, -14) decal lift=-.012*S mirror scale=S pts=[-.02,.045 .035,.045 .008,.008 .035,.008 -.028,-.05 -.006,-.006 -.032,-.006] t=.03 round=.01 color=boltC// tall ears with dark tips and pale insidescone ear on=head surf=(32, 52) lift=-.03*S mirror h=.22*S*earS r=.08*S r2=.012*S depth=.55 bands=[.72:tipC] color=coatC segs=10 jointcone inner on=ear at=(0, .015*S, .024*S) h=.15*S*earS r=.05*S r2=.008*S depth=.4 color=paleC segs=8// the zigzag bolt tail with a coloured rim (sized with scale=)ball tailroot on=body at=(0, .04*S, -.18*S) r=.06*S color=coatC segs=10 rings=6 jointslab tail on=tailroot at=(0, .01*S, -.02*S) yaw=90 scale=S*TL pts=[0,0 .06,-.02 .16,.12 .12,.14 .24,.28 .2,.3 .36,.5 .14,.34 .18,.32 .05,.2 .09,.18 -.04,.05] t=.055 round=.025 color=coatC edge=boltC// zap: sparkles round the body and the cheeksfx zap: sparkle on=body n=12 spread=.38 size=.035 hz=1.4 color=lemonfx zap: sparkle on=head at=(0, -.04, .1) n=8 spread=.22 size=.03 hz=1.8 color=boltC// idle: ear twitch, tail wag, breathing, a curious head tiltanim idle: ear rz keys=[0:0 .08:-16 .16:4 .24:0 1:0] hz=.55 twin=.35anim idle: tailroot wag amp=22 hz=1.6anim idle: body breatheanim idle: head rz sin amp=5 hz=.3// zap: spin on the spot with a hop, tail flicked upanim zap: body ry spin hz=1.2anim zap: body py bounce amp=.05 hz=2.4anim zap: tailroot rx keys=[0:0 .3:-25 .7:-25 1:0] hz=1.2anim zap: ear rx keys=[0:0 .5:-15 1:0] hz=2.4
Clean: no issues on this seed.
Loading
seed
Shapes— / 70
Triangles— / 6,000
Draw calls— / 4