Playground
From research_lab · 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 research_lab "Research lab" complexity=8// the professor's critter research lab: a long white block under a low gabled roof, a row of tall// windows, glass doors under a canopy with a round atom sign, a round observatory tower on the right// rear corner carrying a satellite dish that sweeps the sky, an antenna mast with a blinking tip on// the ridge, a gas tank piped to the wall, roof vents and potted shrubs. "scan" spins the dish fast.let W = 11.2..12let D = 6.6..7.2let H = 5.2..5.5let roofC = teal:3|leafPaint|navy:.6let wallC = white:3|creamlet baseC = greystone:2|steel|granitelet trimC = sel(int(0..1), navy, iron)let popC = sunflower:2|tangerine|cherrylet stoneC = warmstone:2|sandstone|concretelet shrubC = leafA:2|leafB|leafC// footing, walls (white above a grey base band), corner posts and the eave coursebox plinth size=(W+.6, .32, D+.6) round=.08 color=stoneCbox walls on=plinth at=(0, .32, 0) size=(W, H, D) round=.14 bands=[.13:wallC .9:trimC] color=baseC jointbox post x2 on=walls at=(W*.5-.06, 0, 0) row=(0, 0, D-.12) mirror size=(.36, H+.04, .36) round=.08 color=wallC*.94// the roof: a low triangular prism along X (ridge along the long side), overhanging all roundcyl roof on=walls at=(W*.5+.55, H+.48, 0) rot=(0, 0, 90) scale=(1.45/(1.5*(D*.5+.6)/.866), 1, 1) h=W+1.1 r=(D*.5+.6)/.866 segs=3 panels=3 phase=90 cap=wallC*.95 color=roofCcyl ridgecap on=walls at=(W*.5+.62, H+1.42, 0) rot=(0, 0, 90) h=W+1.24 r=.17 color=roofC*.8 segs=10// the round observatory tower on the right rear corner, its railing and the sweeping dishcyl tower on=plinth at=(W*.5-.5, .32, -D*.5+.9) h=H+2.6 r=1.65 round=.12 bands=[.08:wallC .62:trimC .66:wallC] color=baseC segs=26cyl towercap on=tower at=(0, H+2.6, 0) h=.28 r=1.85 round=.1 color=roofC segs=26torus rail on=towercap at=(0, .78, 0) R=1.68 r=.05 color=wallC segs=26 sides=6rod railpost x8 on=towercap ring ring0=22 at=(1.68, .2, 0) to=(0, .58, 0) r=.045 sides=6 color=wallCbox towerwin x3 on=tower ring ring0=35 at=(0, H*.78, 1.59) size=(.6, .95, .2) round=.08 color=glassDarkcyl mount on=towercap at=(0, .28, 0) h=.55 r=.28 r2=.2 color=steel segs=12 jointlathe dish on=mount at=(0, .62, 0) rot=(38, 0, 0) h=.5 r=1.3 prof=[0:.12 .3:.55 1:1] open=top color=white segs=24 jointrod feed on=dish at=(0, .05, 0) to=(0, 1.15, 0) r=.04 sides=6 color=steelball horn on=feed at=end r=.12 color=popC segs=10 rings=6// the antenna mast on the ridge with a blinking lightrod mast on=walls at=(-W*.3, H+1.35, 0) to=(0, 2.2, 0) r=(.07, .04) sides=6 color=steelrod spar x2 on=mast at=(0, 1.2, 0) row=(0, .55, 0) to=(.5, 0, 0) r=.035 sides=6 color=steel mirrorball beacon on=mast at=end r=.14 color=tomato ink=glow segs=10 rings=6 joint// the front: a row of tall windows either side of the doorbox frame x2 on=walls at=(3.1, 1.15, D*.5-.08) row=(2.3, 0, 0) mirror size=(1.5, 2.0, .26) round=.06 color=wallC*.94box glass on=frame at=(0, .12, .02) size=(1.26, 1.76, .26) round=.05 bands=[.52:glassDark .56:glass] color=glassbox sill on=frame at=(0, -.06, .1) size=(1.66, .14, .32) round=.04 color=trimCbox upwin x2 on=walls at=(3.1, H-1.6, D*.5-.08) row=(2.3, 0, 0) mirror size=(1.5, .85, .26) round=.06 color=wallC*.94box upglass on=upwin at=(0, .1, .02) size=(1.28, .65, .26) round=.05 color=glass// the entrance: glass doors, a flat canopy on two posts, a round atom sign, a stepbox step on=plinth at=(0, 0, D*.5+.3) size=(3.4, .4, 1.3) round=.06 color=stoneC*1.06box doorframe on=walls at=(0, 0, D*.5-.1) size=(2.3, 2.75, .34) round=.06 color=wallC*.94box door on=doorframe at=(.52, .1, .04) mirror size=(.98, 2.5, .34) round=.04 bands=[.04:glass .96:trimC] color=glassDark jointbox canopy on=walls at=(0, 2.9, D*.5+.75) size=(3.4, .22, 1.7) round=.08 color=roofCrod canpost on=step at=(1.5, .4, .45) mirror to=(0, 2.5, 0) r=.07 sides=8 color=wallCcyl signplate on=walls at=(0, H+.55, D*.5+.12) rot=(90, 0, 0) h=.3 r=.85 round=.06 cap=popC color=wallC segs=24ball nucleus on=signplate at=(0, .34, 0) r=.15 color=cherry segs=10 rings=6torus orbit x3 on=signplate at=(0, .33, 0) ring scale=(1, 1, .38) R=.56 r=.05 color=navy segs=20 sides=5// the gas tank by the left wall, piped incyl tank on=plinth at=(-W*.5-.7, .32, -D*.2) h=1.6 r=.6 round=.25 bands=[.5:popC .62:white] color=white segs=18tube pipe on=tank at=(0, 1.2, 0) pts=[0,0,0 .5,0,0 .9,.4,0 1.0,.4,0] r=.06 sides=6 color=steel// roof vents on the front slope, potted shrubs at the doorcyl vent x2 on=walls at=(W*.18, H+.55, D*.2) row=(W*.22, 0, 0) h=.7 r=.18 round=.05 bands=[.8:steel] color=greystone segs=10cyl pot on=plinth at=(2.15, .32, D*.5+.6) mirror h=.55 r=.36 r2=.42 round=.06 color=terracotta segs=14puff shrub on=pot at=(0, .78, 0) r=(.48, .46, .48) color=shrubC segs=14 rings=9// life: the dish sweeps slowly, the beacon blinks; "scan" spins the dish round and nods itanim mount ry sin amp=50 hz=.06anim beacon s keys=[0:0 .1:.35 .2:0 1:0] hz=.8anim scan: mount ry spin hz=.5anim scan: dish rx keys=[0:0 .5:18 1:0] hz=.5anim open: door px keys=[0:0 .3:.9 .75:.9 1:0] hz=.45
Clean: no issues on this seed.
Loading
seed
Shapes— / 300
Triangles— / 22,000
Draw calls— / 6