Playground
From mart · 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 mart "Critter mart" complexity=6// the town shop: a compact cream block under a bright blue gabled roof, a wide blue sign board on// the front eave with a potion-bottle emblem, glass sliding doors, a full-width striped awning over// two display windows, crates of goods and a chalkboard stand out front. "open" slides the doors.let W = 6.8..7.4let D = 5.4..5.8let H = 3.2..3.4let roofC = cobalt:3|sky:2|navy:.5let wallC = cream:2|white|peach:.5let skirtC = sel(int(0..1), sky, aqua)let trimC = whitelet popC = sunflower:2|tangerine|lemonlet stoneC = warmstone:2|sandstonelet crateC = oak:2|honey|driftwood// footing, walls over a blue skirting band, corner postsbox plinth size=(W+.5, .28, D+.5) round=.08 color=stoneCbox walls on=plinth at=(0, .28, 0) size=(W, H, D) round=.14 bands=[.16:wallC .92:roofC] color=skirtC jointbox post x2 on=walls at=(W*.5-.06, 0, 0) row=(0, 0, D-.12) mirror size=(.34, H+.04, .34) round=.08 color=trimC// the roof: a blue triangular prism along X, a rounded ridge rollcyl roof on=walls at=(W*.5+.45, H+.42, 0) rot=(0, 0, 90) scale=(1.3/(1.5*(D*.5+.5)/.866), 1, 1) h=W+.9 r=(D*.5+.5)/.866 segs=3 panels=3 phase=90 cap=wallC*.95 color=roofCcyl ridgecap on=walls at=(W*.5+.52, H+1.28, 0) rot=(0, 0, 90) h=W+1.04 r=.15 color=roofC*.8 segs=10// the sign board on the front eave: a blue panel with a white rim and a potion bottle emblembox board on=walls at=(0, H-.15, D*.5+.18) size=(3.6, 1.25, .3) round=.1 color=trimCbox boardface on=board at=(0, .1, .04) size=(3.3, 1.05, .3) round=.08 color=roofCslab bottle on=boardface at=(-1.05, .5, .17) pts=[-.17,-.36 .17,-.36 .24,-.18 .24,.04 .08,.16 .08,.34 -.08,.34 -.08,.16 -.24,.04 -.24,-.18] t=.07 round=.025 color=popC edge=white jointbox stripe x3 on=boardface at=(.55, .3, .17) row=(0, .22, 0) size=(1.7, .12, .04) round=.03 color=white// the entrance: a step, sliding glass doors in a white framebox step on=plinth at=(0, 0, D*.5+.22) size=(2.6, .32, 1.0) round=.06 color=stoneC*1.06box doorframe on=walls at=(0, 0, D*.5-.1) size=(2.1, 2.45, .34) round=.06 color=trimCbox door on=doorframe at=(.47, .1, .04) mirror size=(.9, 2.2, .34) round=.04 bands=[.94:trimC] color=glass jointbox doorbar on=door at=(0, 1.0, .19) size=(.7, .08, .06) round=.02 color=silver// display windows under a full-width striped awningbox frame on=walls at=(2.2, .7, D*.5-.08) mirror size=(1.9, 1.65, .26) round=.06 color=trimCbox glass on=frame at=(0, .12, .02) size=(1.68, 1.4, .26) round=.05 bands=[.3:glass] color=glassDarkbox awning on=walls at=(0, 2.55, D*.5+.4) rot=(26, 0, 0) size=(W-.3, .14, 1.05) round=.05 stripes=[roofC trimC] panels=11 color=roofCbox sidewin on=walls at=(W*.5-.08, 1.0, -.4) mirror size=(.26, 1.2, 1.5) round=.06 color=trimCbox sideglass on=sidewin at=(.02, .1, 0) size=(.26, 1.0, 1.28) round=.05 color=glass// goods out front: a crate stack with fruit, a chalkboard standbox crate x2 on=plinth at=(-2.9, .28, D*.5+.75) row=(.75, 0, 0) size=(.66, .5, .6) round=.05 bands=[.82:crateC*.85] color=crateCball fruit x3 on=crate at=(0, .52, 0) row=(.18, 0, 0) r=.1 color=fruitRed|fruitOrange|lime segs=8 rings=5box chalk on=plinth at=(2.9, .28, D*.5+.75) rot=(-12, -20, 0) size=(.7, 1.0, .1) round=.04 bands=[.08:inkDark .92:oak] color=oakbox chalkline x2 on=chalk at=(0, .45, .045) row=(0, .22, 0) size=(.4, .05, .04) round=.015 color=white// life: the bottle bobs on the sign; "open" slides the doorsanim bottle rz sin amp=8 hz=.5anim open: door px keys=[0:0 .3:.85 .75:.85 1:0] hz=.45
Clean: no issues on this seed.
Loading
seed
Shapes— / 140
Triangles— / 10,000
Draw calls— / 5