1asset toy_dino "Plush dino toy" complexity=3
2// a teal plush dinosaur lying on its tummy in an L, built for the top view: a long neck runs up
3// column 0 to a big round head that looks back up at the player, a plump body sits in the corner
4// square and its tail curls into (1, 2), four stubby legs poke out, and soft coral spikes run down
5// its back and tail. Under 18 cm tall
6let dinoC = teal
7let spikeC = coral
8let paleC = mint
9
10// the plump body, four stubby legs and the curling tail
11ball body at=(-.135, .072, .29) r=(.124, .072, .13) color=dinoC segs=22 rings=12
12ball leg x2 on=body at=(.094, -.04, .006) row=(0, 0, .15) mirror r=(.048, .034, .044) color=dinoC*.92 segs=10 rings=6
13tube tail on=body pts=[.06,-.01,.02 .16,-.02,.05 .27,-.03,.03 .35,-.035,-.03 .37,-.03,-.09] r=(.062, .02) smooth sides=10 color=dinoC
14
15// the long neck up column 0
16tube neck on=body pts=[0,.012,-.06 -.004,.026,-.18 .002,.03,-.32 0,.026,-.5] r=(.066, .046) smooth sides=12 color=dinoC
17
18// the head at the top of the column, crown to -z, looking up at the player
19ball head at=(-.145, .088, -.32) rot=(-72, 0, 0) r=(.098, .092, .088) color=dinoC segs=22 rings=12
20ball snout on=head at=(0, -.042, .052) r=(.07, .05, .046) color=paleC segs=14 rings=8
21face look on=head eyes=round mouth=none spacing=32 eyeY=24 size=.28 detail=.5
22face grin on=snout eyes=none mouth=grin mouthY=-6 mouthW=.6
23
24// soft spikes down the back and tail
25cone bspike x3 at=(-.135, .118, .282) row=(0, 0, .078) rot=(50, 0, 0) h=.075 r=.036 r2=.007 depth=.7 color=spikeC segs=10
26cone tspike x2 at=(.08, .077, .33) row=(.1, -.018, -.015) rot=(0, 34*i, -52) h=.062 r=.03 r2=.006 depth=.7 color=spikeC segs=10
27