1asset toy_duck "Rubber duck toy" complexity=3
2// a classic yellow rubber duck lying in a carton square, built for the top view: a round body with a
3// perky tail and wing bumps, a big round head tipped back so its happy face and orange beak look up
4// at the player. Fills one 30 cm square, under 18 cm tall
5let duckC = sunflower
6let beakC = tangerine
7
8// the body: a fat squashed egg with a perky tail at the back and a wing on each side
9ball body at=(0, .06, -.012) r=(.11, .06, .1) color=duckC segs=28 rings=14
10cone tail on=body at=(0, .022, -.066) rot=(-56, 0, 0) h=.048 r=.046 r2=.016 color=duckC segs=14
11ball wing on=body at=(.084, .014, -.03) mirror rot=(0, 16, -18) r=(.028, .038, .062) color=duckC*.94 segs=14 rings=8
12
13// the head, tipped back to look up, with an orange beak
14ball head on=body at=(0, .044, .054) rot=(-34, 0, 0) r=(.07, .064, .064) color=duckC segs=24 rings=14
15ball beak on=head surf=(0, -16) lift=-.014 r=(.044, .034, .019) color=beakC segs=14 rings=8
16face look on=head eyes=happy mouth=none spacing=34 eyeY=26 size=.3 blush detail=.8
17tube curl on=head at=(0, .05, -.012) pts=[0,0,0 0,.016,.004 0,.022,.018 0,.015,.029 0,.006,.026] r=(.011, .007) smooth sides=8 color=duckC
18