Playground
From neighbour_house · 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
asset neighbour_house "Neighbour's house" complexity=5// a neighbour's cottage, turned the other way from the hero's: a steep gable facing the street, a// tall window in the gable, a door under a porch roof on two posts, a bay of windows, a side// chimney and a bench by the door. Each seed is one of five coupled colourways (roof + walls +// door), so a row of them reads as different families. "open" swings the door.let W = 4.8..5.2let D = 5.6..6.2let H = 3.0..3.3let way = int(0..4)let roofC = sel(way, grape, leafPaint, plum, marigold, bottle)let wallC = sel(way, lemon, cream, peach, white, mint)let doorC = sel(way, teal, cherry, sky, cherry, oak)let skirtC = sel(way, oak, walnut, redwood, greystone, oak)let trimC = whitelet stoneC = warmstone:2|sandstone|greystone// footing and wallsbox plinth size=(W+.4, .26, D+.4) round=.07 color=stoneCbox walls on=plinth at=(0, .26, 0) size=(W, H, D) round=.13 bands=[.13:wallC] color=skirtC jointbox post x2 on=walls at=(W*.5-.06, 0, 0) row=(0, 0, D-.12) mirror size=(.3, H-.28, .3) round=.07 color=trimC// a steep roof running front to back, its gable facing the street, a ridge rollcyl roof on=walls at=(0, H+.55, -D*.5-.4) rot=(90, 0, 0) scale=(1, 1, 2.6/(1.5*(W*.5+.45)/.866)) h=D+.8 r=(W*.5+.45)/.866 segs=3 panels=3 phase=180 cap=wallC*.97 color=roofCcyl ridgecap on=walls at=(0, H+2.28, -D*.5-.47) rot=(90, 0, 0) h=D+.94 r=.14 color=roofC*.8 segs=10box gablewin on=walls at=(0, H+.3, D*.5+.36) size=(1.0, 1.25, .26) round=.08 color=trimCbox gableglass on=gablewin at=(0, .12, .02) size=(.78, 1.0, .26) round=.06 bands=[.5:glassDark .55:glass] color=glassbox chimney on=walls at=(W*.33, H+.3, -D*.25) size=(.55, 2.3, .55) round=.06 bands=[.88:greystone] color=terracotta// the door under a porch roof on two postsbox step on=plinth at=(-W*.22, 0, D*.5+.45) size=(1.9, .3, 1.3) round=.05 color=stoneC*1.07box doorframe on=walls at=(-W*.22, 0, D*.5-.08) size=(1.2, 2.2, .28) round=.05 color=trimCrod hinge on=doorframe at=(-.46, .08, .04) to=(0, 2.0, 0) r=.03 sides=6 color=trimC jointbox door on=hinge at=(.46, 0, 0) size=(.92, 2.0, .28) round=.05 color=doorCbox doorwin on=door at=(0, 1.35, .15) size=(.5, .42, .04) round=.04 color=glassball knob on=door at=(.32, .95, .19) r=.06 color=brass segs=8 rings=5box porch on=walls at=(-W*.22, 2.45, D*.5+.62) rot=(14, 0, 0) size=(2.2, .16, 1.45) round=.05 color=roofCrod porchpost on=step at=(.9, .3, .5) mirror to=(0, 2.0, 0) r=.06 sides=8 color=trimC// windows: a wide front window, two on each flankbox frame on=walls at=(W*.24, .8, D*.5-.08) size=(1.5, 1.3, .26) round=.06 color=trimCbox glass on=frame at=(0, .12, .02) size=(1.26, 1.06, .26) round=.05 stripes=[glass glassDark glass] panels=3 color=glassbox sill on=frame at=(0, -.06, .1) size=(1.66, .14, .32) round=.04 color=doorCbox sidewin x2 on=walls at=(W*.5-.08, .85, 0) row=(0, 0, D*.45) mirror size=(.26, 1.15, 1.1) round=.06 color=trimCbox sideglass on=sidewin at=(.02, .1, 0) size=(.26, .95, .9) round=.05 color=glass// a little bench by the doorbox seat on=plinth at=(W*.24, .42, D*.5+.5) size=(1.3, .12, .42) round=.04 color=doorCbox seatleg x2 on=seat at=(0, -.42, 0) row=(1.0, 0, 0) size=(.12, .42, .36) round=.03 color=doorC*.8// life: chimney smoke; "open" swings the doorfx puff on=chimney at=top+(0, .05, 0) n=4 hz=.3 size=.11 grow=2.4anim open: hinge ry keys=[0:0 .3:-75 .75:-75 1:0] hz=.4
Clean: no issues on this seed.
Loading
seed
Shapes— / 100
Triangles— / 8,000
Draw calls— / 4