Playground
From critter_center · 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
asset critter_center "Critter center" complexity=7// the town's healing house for critters: a wide one-storey block with cream walls over a coloured// skirting, a chunky red truncated-hip roof with a flat top, a big round heart sign plate standing on// the front eave, glass double doors under a striped awning, square windows, white corner posts,// two potted shrubs and a wide front step. The heart pulses gently; "open" slides the doors apart.let W = 8.4..9let D = 6.4..6.8let H = 3.1..3.4let roofC = cherry:4|tomato:2|coral:.5let wallC = cream:3|whitelet skirtC = peach:2|bubblegum|corallet trimC = whitelet stoneC = warmstone:2|sandstone|greystonelet potC = terracotta:2|honey|skylet shrubC = leafA:2|leafB|leafC// footing and the walls (cream above a coloured skirting band)box plinth size=(W+.5, .3, D+.5) round=.08 color=stoneCbox walls on=plinth at=(0, .3, 0) size=(W, H, D) round=.14 bands=[.2:wallC] color=skirtC 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=trimCbox eave on=walls at=(0, H-.02, 0) size=(W+.36, .26, D+.36) round=.08 color=trimC// the roof: a red four-sided frustum with a flat top, overhanging the wallscone roof on=eave at=(0, .2, 0) h=1.55 r=(W*.5+.5)*1.414 r2=(W*.5+.5)*.62 segs=4 panels=4 phase=45 depth=(D+1)/(W+1) cap=roofC color=roofC jointbox ridge on=roof at=(0, 1.5, 0) size=(W*.58, .22, (D+1)*.44) round=.1 color=roofC*.86// the sign: a big round plate on the front eave, a white ring, a glowing heart that pulsesbox signpost on=walls at=(0, H-.2, D*.5+.15) size=(.6, 1.2, .3) round=.08 color=trimCcyl plate on=walls at=(0, H+1.3, D*.5+.15) rot=(90, 0, 0) h=.3 r=1.15 round=.08 cap=roofC color=trimC segs=28torus ring on=plate at=(0, .32, 0) R=.86 r=.07 color=trimC segs=28 sides=6slab heart on=plate at=(0, .3, 0) rot=(-90, 0, 0) pts=[0,-.55 .42,-.12 .52,.14 .44,.36 .24,.44 .06,.34 0,.24 -.06,.34 -.24,.44 -.44,.36 -.52,.14 -.42,-.12] t=.08 round=.03 color=white ink=glow joint// the entrance: a step, glass double doors in a white frame, a striped awning, two wall lampsbox step on=plinth at=(0, 0, D*.5+.25) size=(3.2, .36, 1.2) round=.06 color=stoneC*1.06box doorframe on=walls at=(0, 0, D*.5-.1) size=(2.5, 2.5, .34) round=.06 color=trimCbox door on=doorframe at=(.56, .1, .04) mirror size=(1.06, 2.25, .34) round=.04 bands=[.94:trimC] color=glassDark jointbox handle on=door at=(-.42, 1.05, .19) size=(.06, .5, .06) round=.02 color=silverbox awning on=walls at=(0, 2.55, D*.5+.42) rot=(28, 0, 0) size=(3.3, .14, 1.15) round=.05 stripes=[roofC trimC] panels=7 color=roofCball lamp on=walls at=(1.52, 2.15, D*.5+.12) mirror r=(.16, .2, .12) color=glow ink=glow segs=10 rings=6// windows: two each side of the door, two on each flankbox frame on=walls at=(2.85, .95, D*.5-.08) mirror size=(2.0, 1.4, .26) round=.06 color=trimCbox glass on=frame at=(0, .11, .02) size=(1.78, 1.18, .26) round=.05 stripes=[glass glassDark glass] panels=3 color=glassbox sidewin x2 on=walls at=(W*.5-.08, 1.0, 0) row=(0, 0, D*.45) mirror size=(.26, 1.25, 1.3) round=.06 color=trimCbox sideglass on=sidewin at=(.02, .1, 0) size=(.26, 1.05, 1.08) round=.05 color=glass// potted shrubs flanking the stepcyl pot on=plinth at=(2.25, .3, D*.5+.55) mirror h=.55 r=.36 r2=.42 round=.06 color=potC segs=14puff shrub on=pot at=(0, .78, 0) r=(.48, .46, .48) color=shrubC segs=14 rings=9// life: the heart pulses; "open" slides the doors apart and backanim heart s sin amp=.07 hz=.7anim open: door px keys=[0:0 .3:.95 .75:.95 1:0] hz=.45
Clean: no issues on this seed.
Loading
seed
Shapes— / 200
Triangles— / 15,000
Draw calls— / 5