Playground
From conveyor · 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
asset conveyor "Conveyor belt segment" complexity=3// one 1.2 m conveyor segment along x for the toy factory, 1.0 m wide: a dark rubber belt whose top sits at// 0.62 m, yellow slats 0.4 m apart riding it +x at 0.8 m/s (one spacing per cycle at hz 2, so chained// segments hand slats on seamlessly), sky-blue side rails with flow chevrons, striped end rollers that spin// with the belt, and four sturdy legs. Always runninglet beltC = tyrelet slatC = sunflowerlet railC = skylet trimC = sunflowerlet legC = ironlet rollC = silver// the belt and its slats (the slats slide +x one spacing per cycle, then hand over to the next segment)box belt at=(0, .58, 0) size=(1.2, .04, .84) round=.016 bev=2 color=beltCbox slat x3 at=(-.2, .615, 0) row=(.4, 0, 0) size=(.05, .02, .8) round=.008 bev=2 color=slatC joint// end rollers under the belt ends; their striped drums and hub bars show the spin outside the railscyl roller x2 at=(0, .545, .53) row=(1.09, 0, 0) rot=(-90, 0, 0) h=1.06 r=.05 panels=8 stripes=[rollC steel] cap=steel color=rollC segs=16 jointbox hub on=roller at=(0, -.008, 0) size=(.08, .01, .022) round=.004 color=trimCbox hubb on=roller at=(0, 1.058, 0) size=(.08, .01, .022) round=.004 color=trimC// side rails with a lip over the belt edge, and yellow chevrons pointing downstreambox rail x2 at=(0, .48, 0) row=(0, 0, .96) size=(1.2, .2, .04) round=.012 bev=2 color=railCbox lip x2 at=(0, .66, 0) row=(0, 0, .9) size=(1.2, .04, .07) round=.014 bev=2 color=railCslab chev x2 at=(0, .58, .502) row=(.6, 0, 0) pts=[-.06,-.05 -.02,-.05 .04,0 -.02,.05 -.06,.05 0,0] t=.006 round=.002 color=trimC ink=thinslab chevb x2 at=(0, .58, -.502) row=(.6, 0, 0) yaw=180 pts=[.06,-.05 .02,-.05 -.04,0 .02,.05 .06,.05 0,0] t=.006 round=.002 color=trimC ink=thin// four legs with feet, braced front to backcyl leg x2 at=(.46, 0, 0) row=(0, 0, .92) mirror h=.49 r=.035 color=legC segs=10cyl foot x2 at=(.46, 0, 0) row=(0, 0, .92) mirror h=.03 r=.06 color=legC segs=12rod brace at=(.46, .16, -.46) mirror to=(0, 0, .92) r=.022 sides=8 color=legCrod tie at=(-.46, .16, 0) to=(.92, 0, 0) r=.02 sides=8 color=legCanim slat px keys=[0:0 .1:.02 .2:.04 .3:.06 .4:.08 .5:.1 .6:.12 .7:.14 .8:.16 .9:.18 1:.2] hz=2anim slat px keys=[0:0 .05:.01 .15:.03 .25:.05 .35:.07 .45:.09 .55:.11 .65:.13 .75:.15 .85:.17 .95:.19 1:.2] hz=2anim roller ry spin hz=2.546
Clean: no issues on this seed.
Loading
seed
Shapes— / 45
Triangles— / 4,500
Draw calls— / 3