Pipwing · celworld
seed

Pipwing

pipwing v1Agent-madec4
Open in Playground

v1 cost

$0.559est.

Agent-made: its share of a Claude Code session, priced as API-equivalent Opus 5.5.

Output share
3.2k
Time share
2m 17s
The agent session
All 1 version$0.559

Budget

c4 · 42 lines
Shapes16 / 70
Triangles2,728 / 6,000
Draw calls2 / 4
States
idle · peck · fly
Used in
Made
1asset pipwing "Pipwing" complexity=4
2// a little town bird: a round sparrow-ish ball of a body with a big head, a perky three-feather
3// crest, a stubby orange beak, short wings, a fanned tail and two tiny orange legs. Colourways:
4// sky and cream, walnut and honey, and a rare shiny pink.
5// States: idle (hop and tilt), peck (bobbing for seeds), fly (flapping hover).
6let S = .92..1.08
7let shiny = chance(.08)
8let alt = chance(.5)
9let way = shiny*2 + (1-shiny)*alt
10let featherC = sel(way, sky, walnut, bubblegum)
11let breastC = sel(way, cream, honey, white)
12let wingC = sel(way, cobalt, oak, grape)
13let beakC = sel(way, tangerine, marigold, lemon)
14
15// body: a round ball, the root bone, on two little legs
16ball body at=(0, .21*S, 0) r=(.145, .13, .15)*S color=featherC under=breastC segs=18 rings=12 joint
17limb leg on=body at=(.05*S, -.09*S, .01*S) mirror len=.09*S r=(.022, .02)*S color=beakC segs=6 joint
18ball toe on=leg at=end+(0, -.005*S, .025*S) r=(.035, .015, .045)*S color=beakC segs=8 rings=5
19
20// head, beak and crest
21ball head on=body at=(0, .15*S, .07*S) r=(.125, .115, .115)*S color=featherC under=breastC segs=20 rings=12 joint
22cone beak on=head surf=(0, -14) lift=-.02*S h=.07*S r=.04*S depth=.8 color=beakC segs=8
23face look on=head eyes=round mouth=none size=.3 spacing=34 eyeY=14 detail=.6
24cone 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
25
26// wings and tail
27ball 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 joint
28cone 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
29
30// idle: little hops, head tilts, a tail flick
31anim idle: body py bounce amp=.03 hz=.7
32anim idle: head rz keys=[0:0 .2:14 .5:14 .7:-10 1:0] hz=.3
33anim idle: tailfan rx sin amp=10 hz=1.2
34anim idle: crest rx sin amp=6 hz=.8 stagger=.2
35// peck: bobs down for seeds
36anim peck: head rx keys=[0:0 .15:38 .3:0 .45:38 .6:0 1:0] hz=.8
37anim peck: body rx keys=[0:0 .15:10 .3:0 .45:10 .6:0 1:0] hz=.8
38// fly: wings beat, the body bobs up off the ground, legs tuck
39anim fly: wing flap amp=55 hz=5
40anim fly: body py sin amp=.08 hz=1.2
41anim fly: leg rx keys=[0:-50 1:-50] hz=1
42anim fly: tailfan rx sin amp=14 hz=2.5
43