Playground
From pipwing · 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
asset pipwing "Pipwing" complexity=4// a little town bird: a round sparrow-ish ball of a body with a big head, a perky three-feather// crest, a stubby orange beak, short wings, a fanned tail and two tiny orange legs. Colourways:// sky and cream, walnut and honey, and a rare shiny pink.// States: idle (hop and tilt), peck (bobbing for seeds), fly (flapping hover).let S = .92..1.08let shiny = chance(.08)let alt = chance(.5)let way = shiny*2 + (1-shiny)*altlet featherC = sel(way, sky, walnut, bubblegum)let breastC = sel(way, cream, honey, white)let wingC = sel(way, cobalt, oak, grape)let beakC = sel(way, tangerine, marigold, lemon)// body: a round ball, the root bone, on two little legsball body at=(0, .21*S, 0) r=(.145, .13, .15)*S color=featherC under=breastC segs=18 rings=12 jointlimb leg on=body at=(.05*S, -.09*S, .01*S) mirror len=.09*S r=(.022, .02)*S color=beakC segs=6 jointball toe on=leg at=end+(0, -.005*S, .025*S) r=(.035, .015, .045)*S color=beakC segs=8 rings=5// head, beak and crestball head on=body at=(0, .15*S, .07*S) r=(.125, .115, .115)*S color=featherC under=breastC segs=20 rings=12 jointcone beak on=head surf=(0, -14) lift=-.02*S h=.07*S r=.04*S depth=.8 color=beakC segs=8face look on=head eyes=round mouth=none size=.3 spacing=34 eyeY=14 detail=.6cone crest x3 on=head at=(0, .1*S, -.02*S) row=(0, 0, -.04*S) rot=(-20, 0, 0) h=(.11-.02*i)*S r=.03*S depth=.5 color=wingC segs=6 joint// wings and tailball wing on=body surf=(84, 10) lift=-.045*S mirror r=(.03, .085, .12)*S tilt=-25 roll=8 color=wingC segs=12 rings=7 jointcone tailfan x3 on=body at=((i-1)*.035*S, (.02+i*.02)*S, -.1*S) rot=(-105, (i-1)*32, 0) h=.12*S r=.035*S depth=.4 color=wingC segs=6 joint// idle: little hops, head tilts, a tail flickanim idle: body py bounce amp=.03 hz=.7anim idle: head rz keys=[0:0 .2:14 .5:14 .7:-10 1:0] hz=.3anim idle: tailfan rx sin amp=10 hz=1.2anim idle: crest rx sin amp=6 hz=.8 stagger=.2// peck: bobs down for seedsanim peck: head rx keys=[0:0 .15:38 .3:0 .45:38 .6:0 1:0] hz=.8anim peck: body rx keys=[0:0 .15:10 .3:0 .45:10 .6:0 1:0] hz=.8// fly: wings beat, the body bobs up off the ground, legs tuckanim fly: wing flap amp=55 hz=5anim fly: body py sin amp=.08 hz=1.2anim fly: leg rx keys=[0:-50 1:-50] hz=1anim fly: tailfan rx sin amp=14 hz=2.5
Clean: no issues on this seed.
Loading
seed
Shapes— / 70
Triangles— / 6,000
Draw calls— / 4