
Loading
seed
19 statesS spinI inkG seeds
Budget
c5 · 59 linesShapes26 / 100
Triangles6,630 / 8,000
Draw calls3 / 4
- States
- drive · toot
- Used in
- No scene yet
- Made
1asset steam_tractor "Steam tractor" complexity=52// a tiny steam tractor: a fat rounded boiler with a smiling face, a tall flared chimney that puffs,3// huge rear wheels and small front ones, a striped canopy over a seat, brass rings and lamps4// readable from afar: the big back wheels, the chimney and the round happy boiler5let BR = .5..0.66let FR = .27..0.337let CH = .65..0.88let body = cherry:3|teal:2|cobalt|sunflower|mint:2|coral9let trim = cream:3|white10let darkC = iron:2|greystone|walnut11let popC = brass:3|marigold|copper1213// chassis frame: the root bone, with axles and the towing hitch14box chassis at=(0, .28, 0) size=(.7, .2, 2.1) round=.07 color=darkC joint15rod axleB on=chassis at=(-.5, BR-.28, -.65) to=(1, 0, 0) r=.06 sides=8 color=darkC16rod axleF on=chassis at=(-.45, FR-.28, .85) to=(.9, 0, 0) r=.05 sides=8 color=darkC17box hitch on=chassis at=(0, .04, -1.0) size=(.18, .1, .25) round=.03 color=popC1819// the boiler: a long fat ellipsoid with a pale belly and brass hoops20ball boiler on=chassis at=(0, .5, .1) r=(.44, .44, .8) color=body under=trim segs=28 rings=16 joint21torus hoop x2 on=boiler row=(0, 0, .6) at=(0, 0, 0) rot=(90, 0, 0) R=.41 r=.035 segs=24 sides=6 color=popC22ball dome on=boiler at=(0, .37, -.05) r=(.14, .13, .14) color=popC segs=12 rings=823cyl whistle on=boiler at=(0, .3, -.4) h=.2 r=.045 round=.02 color=popC segs=10 joint2425// the chimney: flared top with a brass rim, three steam puffs above it26lathe chimney on=boiler at=(0, .28, .5) h=CH r=.12 prof=[0:1 .55:.75 .85:.8 1:1.35] bands=[.9:popC] color=darkC segs=16 rings=1027puff smoke x3 on=chimney at=(0, CH+.1, 0) row=(0, .22, 0) r=.12+.03*i color=white noise=.05 segs=12 rings=8 joint2829// face on the boiler front, lamps on the chassis nose30face look on=boiler eyes=round mouth=smile blush size=.2 spacing=26 eyeY=12 mouthY=-22 mouthW=.35 detail=.631ball lamp on=chassis at=(.2, .3, 1.12) mirror r=(.1, .1, .07) color=glow ink=glow segs=10 rings=63233// seat and striped canopy on four slim posts34box seat on=chassis at=(0, .12, -.82) size=(.45, .3, .3) round=.06 color=body*.8535rod post x2 on=chassis row=(0, 0, .55) at=(.34, .18, -.65) mirror to=(.06, .97, 0) r=.04 sides=6 color=popC36box roof on=chassis at=(0, 1.12, -.55) size=(1.0, .1, .95) round=.04 stripes=[body trim] panels=6 color=body3738// wheels: big rear pair, small front pair39wheel wheel on=chassis at=(.55, BR-.28, -.65) mirror r=BR w=.3 hub=trim tyre=tyre joint40wheel fwheel on=chassis at=(.42, FR-.28, .85) mirror r=FR w=.18 hub=trim tyre=tyre joint4142// idle: engine rumble, a breathing boiler, steam rising from the chimney43anim chassis py sin amp=.006 hz=544anim boiler breathe45anim smoke py keys=[0:0 1:.7] hz=.4 stagger=.3346anim smoke s keys=[0:-.75 .2:0 .7:.2 1:-.9] hz=.4 stagger=.334748// drive: wheels roll in step (front ones turn faster), the body rocks, chuffs come quicker49anim drive: wheel rx spin hz=.650anim drive: fwheel rx spin hz=1.151anim drive: chassis rz sin amp=1.2 hz=352anim drive: chassis rx sin amp=1 hz=253anim drive: smoke py keys=[0:0 1:.7] hz=.9 stagger=.3354anim drive: smoke s keys=[0:-.75 .2:0 .7:.2 1:-.9] hz=.9 stagger=.335556// toot: the whistle swells and the boiler puffs up, steam bursts out of the chimney57anim toot: whistle s keys=[0:0 .15:.6 .6:.4 1:0] hz=.8 once58anim toot: boiler s keys=[0:0 .2:.06 1:0] hz=.8 once59anim toot: smoke s keys=[0:-.5 .3:.6 1:-.9] hz=1 stagger=.2 once60