Playground
From player_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
54
55
asset player_house "Player's house" complexity=5// the hero's home: a tidy two-storey cottage with white walls over a brick-red skirting, a warm// orange gabled roof running side to side, a brick chimney puffing smoke, a front door under a// little hood, two upstairs windows and a wide downstairs window with a flower box, a round attic// window in each gable and a doorstep. "open" swings the door.let W = 5.6..6.1let D = 4.8..5.2let H = 4.4..4.7let roofC = tangerine:3|terracotta:2|tomatolet wallC = white:2|cream:2let skirtC = redwood:2|terracotta|walnutlet doorC = oak:2|cherry|teallet trimC = sel(int(0..1), walnut, oak)let boxC = oak:2|honeylet bloomC = flowerRed:2|flowerPink|flowerYellowlet stoneC = warmstone:2|sandstone|greystone// footing and the 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=[.12:wallC] color=skirtC jointbox beam on=walls at=(0, H*.5-.1, 0) size=(W+.08, .2, D+.08) round=.06 color=trimC// the roof: an orange prism along X, a ridge roll, gable-end round windows, a brick chimneycyl roof on=walls at=(W*.5+.4, H+.36, 0) rot=(0, 0, 90) scale=(1.9/(1.5*(D*.5+.5)/.866), 1, 1) h=W+.8 r=(D*.5+.5)/.866 segs=3 panels=3 phase=90 cap=wallC*.96 color=roofCcyl ridgecap on=walls at=(W*.5+.47, H+1.62, 0) rot=(0, 0, 90) h=W+.94 r=.14 color=roofC*.8 segs=10cyl attic on=walls at=(W*.5+.36, H+.62, 0) rot=(0, 0, -90) mirror h=.12 r=.34 round=.04 cap=glassDark color=trimC segs=16box chimney on=walls at=(-W*.28, H+.5, -D*.18) size=(.62, 1.9, .62) round=.06 bands=[.86:greystone] color=terracottabox chimtop on=chimney at=(0, 1.9, 0) size=(.78, .16, .78) round=.05 color=greystone// the front door under a little hood, a doorstepbox step on=plinth at=(-W*.18, 0, D*.5+.2) size=(1.5, .3, .8) round=.05 color=stoneC*1.07box doorframe on=walls at=(-W*.18, 0, D*.5-.08) size=(1.3, 2.25, .28) round=.05 color=trimCrod hinge on=doorframe at=(-.5, .08, .04) to=(0, 2.05, 0) r=.03 sides=6 color=trimC jointbox door on=hinge at=(.5, 0, 0) size=(1.0, 2.05, .28) round=.05 color=doorCbox doorpanel x2 on=door at=(0, .7, .15) row=(0, .9, 0) size=(.7, .62, .04) round=.03 color=doorC*.86ball knob on=door at=(.36, 1.0, .19) r=.06 color=brass segs=8 rings=5box hood on=walls at=(-W*.18, 2.35, D*.5+.32) rot=(18, 0, 0) size=(1.7, .14, .75) round=.05 color=roofC// windows: a wide one downstairs with a flower box, two upstairsbox frame on=walls at=(W*.2, .85, D*.5-.08) size=(1.7, 1.25, .26) round=.06 color=wallC*.93box glass on=frame at=(0, .12, .02) size=(1.46, 1.0, .26) round=.05 stripes=[glass glassDark glass] panels=3 color=glassbox flowerbox on=frame at=(0, -.2, .28) size=(1.7, .3, .34) round=.05 color=boxCball bloom x5 on=flowerbox at=(0, .32, 0) row=(.32, 0, 0) r=.13 color=bloomC segs=8 rings=5box upframe on=walls at=(1.35, H*.5+.35, D*.5-.08) mirror size=(1.05, 1.15, .26) round=.06 color=wallC*.93box upglass on=upframe at=(0, .1, .02) size=(.84, .95, .26) round=.05 bands=[.48:glassDark .54:glass] color=glassbox shutter on=upframe at=(.68, 0, .04) size=(.26, 1.15, .14) round=.04 color=doorC// a side window on each flank, downstairsbox sidewin on=walls at=(W*.5-.08, .9, .3) mirror size=(.26, 1.1, 1.1) round=.06 color=wallC*.93box sideglass on=sidewin at=(.02, .1, 0) size=(.26, .9, .9) round=.05 color=glass// life: chimney smoke, the flowers nod; "open" swings the doorfx puff on=chimtop at=top+(0, .05, 0) n=4 hz=.3 size=.12 grow=2.6anim 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