Playground
From car_press · 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
asset car_press "Car press" complexity=4// the toy factory's car machine, front +z toward the belt: a cherry-red stamping press. A chunky cabinet with a// silver anvil, two striped pillars carrying a red head with a cheerful face, a big sunflower push button on top,// and a silver ram that hangs over a little red toy car waiting on the anvil. A railed chute (part `chute`, toys// leave near (0, .75, .95)) runs off the front edge. Idle: the head hums, the ram breathes, the crank turns, the// gauge needle wobbles, the beacon pulses. work (1.6 s): the button goes down, the ram THUMPS the car, the car// rolls off down the chute and a fresh one pops up on the anvil; the vent puffslet bodyC = cherrylet trimC = whitelet popC = sunflowerlet metalC = silverlet carC = tomatolet tyreC = iron// the cabinet: a white plinth band under red panels, a car badge and three buttonsbox base at=(0, 0, -.1) size=(1.7, .7, 1.5) round=.14 bev=2 bands=[.12:bodyC .78:trimC .85:bodyC] color=trimCslab badge at=(-.58, .36, .665) pts=[-.145,-.025 .145,-.025 .145,.025 .085,.045 .05,.095 -.06,.095 -.095,.045 -.145,.035] t=.02 round=.006 color=popCball bwheel x2 on=badge at=(-.08, -.03, .006) row=(.16, 0, 0) r=(.04, .04, .018) color=tyreC segs=10 rings=5ball btn x3 at=(.42, .45, .655) row=(.14, 0, 0) r=(.05, .05, .03) color=sel(i, popC, sky, lime) segs=8 rings=4// the anvil and the two pillarsbox anvil at=(0, .69, -.15) size=(.9, .11, .7) round=.04 color=metalCcyl pillar at=(.62, .7, -.15) mirror h=.8 r=.1 bands=[.1:bodyC .2:metalC .82:bodyC .92:metalC] color=metalC segs=12// the head: red over a white band, a face, a gauge on its side, the beacon, a vent and the big buttonbox head at=(0, 1.45, -.15) size=(1.6, .46, .8) round=.14 bev=2 bands=[.18:bodyC] color=trimC jointface look on=head eyes=round mouth=grin spacing=26 eyeY=8 mouthY=-26 mouthW=.4 size=.24 detail=.5cyl gauge on=head at=(.79, .22, .05) rot=(0, 0, -90) h=.04 r=.12 cap=white color=metalC segs=12box needle on=gauge at=(0, .04, .03) size=(.024, .014, .1) round=.006 bev=1 color=bodyC jointcyl lampbase on=head at=(-.6, .44, .12) h=.07 r=.07 color=metalC segs=12ball lamp on=lampbase at=(0, .12, 0) r=.085 color=glow ink=glow segs=10 rings=7 jointcyl vent on=head at=(.56, .44, -.22) h=.16 r=.06 r2=.07 cap=iron color=metalC segs=10cyl collar on=head at=(0, .44, -.02) h=.07 r=.25 color=metalC segs=20ball button on=collar at=(0, .06, 0) r=(.2, .15, .2) half color=popC segs=18 rings=6 joint// the ram: a silver die block with a red band on a piston up into the headbox ram at=(0, 1.1, -.15) size=(.6, .16, .5) round=.04 bands=[.45:bodyC] color=metalC jointcyl piston on=ram at=(0, .16, 0) h=.26 r=.07 color=metalC segs=10// the toy car waiting on the anvil, nose to the chutebox car at=(0, .835, -.15) size=(.26, .1, .44) round=.045 color=carC jointbox roof on=car at=(0, .095, -.03) size=(.2, .075, .22) round=.035 color=trimCwheel tyre x2 on=car row=(0, 0, .28) at=(.13, .0, 0) mirror r=.055 w=.05 tyre=tyreC hub=trimC detail=.45ball headlamp on=car at=(.075, .06, .215) mirror r=.026 color=lemon segs=8 rings=5// the chute: a silver slide with yellow rails off the front edge, on a strutbox chute at=(0, .64, .82) tilt=12 size=(.5, .05, .44) round=.02 color=metalCbox rail on=chute at=(.23, .02, 0) mirror size=(.05, .09, .44) round=.02 color=popCrod strut at=(0, .3, .64) to=(0, .32, .28) r=.03 sides=8 color=metalC// the crank wheel on the right sidewheel crank at=(.9, .38, -.2) r=.22 w=.06 tyre=bodyC*.8 hub=popC detail=.7 jointrod handle on=crank at=(.03, .15, 0) to=(.1, 0, 0) r=.025 sides=6 color=popC// cel FX: the vent puffs while it worksfx work: puff on=vent at=top n=4 hz=.9 speed=.7 size=.07// idle: a hum in the head, the ram breathes, the crank turns, the needle wobbles, the beacon pulsesanim head py sin amp=.004 hz=6anim ram py sin amp=.012 hz=.8anim crank rx spin hz=.2anim needle ry sin amp=25 hz=.45anim lamp s keys=[0:0 .5:.22 1:0] hz=.9// work (1.6 s): button down, THUMP, the car squashes and springs back, rolls off down the chute, a new one pops upanim work: button py keys=[0:0 .06:-.08 .18:-.08 .26:0 1:0] hz=.625 onceanim work: ram py keys=[0:0 .14:.04 .2:-.09 .3:-.09 .36:-.08 .52:0 1:0] hz=.625 onceanim work: head py keys=[0:0 .2:0 .23:-.025 .27:.012 .31:0 1:0] hz=.625 onceanim work: car s keys=[0:0 .2:0 .23:-.28 .3:-.12 .36:.06 .4:0 .7:0 .74:-.99 .86:-.99 .94:.15 1:0] hz=.625 onceanim work: car pz keys=[0:0 .44:0 .7:.74 .74:.8 .75:0 1:0] hz=.625 onceanim work: car py keys=[0:0 .5:0 .58:-.1 .7:-.13 .75:0 1:0] hz=.625 onceanim work: crank rx keys=[0:0 1:540] hz=.625 onceanim work: lamp s keys=[0:0 .2:.5 .3:0 .4:.5 .5:0 1:0] hz=.625 once
Clean: no issues on this seed.
seed
Shapes— / 70
Triangles— / 6,000
Draw calls— / 4