Playground
From lighthouse_islet · 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
asset lighthouse_islet "Seaside lighthouse" complexity=5// a chunky striped lighthouse on a rocky islet: a keeper's hut, a little dock with a gull,// and a lamp room whose glowing lamp turns its two beams round. The door opens, the lamp signals.// proportions and colourslet TH = 3.4..3.9let stripe = cherry:3|cobalt:2|tangerine|teallet trim = cream:3|whitelet rockA = rockGrey:2|rockCoollet rockB = rockWarm:2|rockSandlet beamC = lemon:2|sunflower|white// the islet and the sea around itlathe islet r=2.4 h=.5 prof=[0:.9 .15:1 .8:.85 1:.7] color=rockA cap=rockB segs=20 jointcyl sea on=islet at=(0, .06, 0) r=3.6 h=.14 round=.05 cap=waterLight color=water segs=20 jointtorus foam on=sea at=(0, .14, 0) R=3.5 r=.07 color=foam segs=20 sides=5ball rock x7 on=islet ring=10 ring0=20 at=(2.15, .34, 0) r=(.55, .34, .45) color=sel(i, rockB, rockA, rockB, rockA, rockB, rockA, rockB) segs=8 rings=5puff grass x3 on=islet ring=20 ring0=40 at=(1.35, .5, 0) r=(.38, .2, .34) color=leafA segs=8 rings=5// the tower: a tapered, banded column with a hinged door and glowing windowslathe tower on=islet at=(0, .42, 0) h=TH r=.9 prof=[0:1 1:.62] linear color=trim bands=[.22:stripe .44:trim .66:stripe .88:trim] segs=24box doorway on=tower at=(.02, .1, .88) size=(.38, .8, .1) round=.03 color=inkDarkcyl hinge on=tower at=(.22, .12, .88) h=.76 r=.03 color=brass segs=8 jointbox leaf on=hinge at=(-.2, .02, 0) size=(.4, .72, .12) round=.04 color=walnutbox win1 on=tower at=(0, TH*.38, .7) size=(.22, .32, .2) round=.05 color=glow ink=glowbox win2 on=tower at=(0, TH*.68, .6) size=(.2, .3, .2) round=.05 color=glow ink=glow// the gallery: a fat deck with a railing of postscyl gallery on=tower at=(0, TH-.1, 0) r=1.2 h=.2 round=.07 color=stripe segs=24torus rail on=gallery at=(0, .7, 0) R=1.05 r=.04 color=trim segs=24 sides=5rod post x10 on=gallery ring=0 at=(1.05, .17, 0) to=(0, .53, 0) r=.035 sides=6 color=trim// the lamp room: a pedestal, brass mullions, a glowing lamp with two beams, a capped roofcyl lampbase on=gallery at=(0, .12, 0) r=.62 h=.34 round=.05 color=trim segs=20rod mull x8 on=lampbase ring=0 at=(.52, .3, 0) to=(0, .8, 0) r=.035 sides=6 color=brasscyl roofring on=lampbase at=(0, 1.05, 0) r=.66 h=.14 round=.04 color=stripe segs=20cone lroof on=lampbase at=(0, 1.15, 0) r=.7 r2=.1 h=.42 color=stripe segs=20ball finial on=lroof at=end r=.1 color=brass segs=10 rings=6rod pole on=finial at=(0, .05, 0) to=(0, .5, 0) r=.02 sides=6 color=brassslab flag on=pole at=(0, .28, 0) pts=[0,0 .45,.08 0,.16] t=.03 round=.01 color=stripe jointball lamp on=lampbase at=(0, .72, 0) r=.2 color=glow ink=glow segs=12 rings=8 jointcone beam1 on=lamp at=(0, 0, .12) rot=(90, 0, 0) h=1.7 r=.1 r2=.5 color=beamC ink=glow segs=10cone beam2 on=lamp at=(0, 0, -.12) rot=(-90, 0, 0) h=1.7 r=.1 r2=.5 color=beamC ink=glow segs=10// the keeper's hutbox hut on=islet at=(-1.15, .38, .3) size=(.9, .7, .7) round=.08 color=trimcone hroof on=hut at=(0, .66, 0) segs=4 yaw=45 r=.72 h=.4 color=terracottabox chimney on=hut at=(-.25, .7, -.15) size=(.16, .4, .16) round=.03 color=rockWarmbox hwin on=hut at=(.2, .2, .37) size=(.26, .26, .06) round=.03 color=glow ink=glowbox hdoor on=hut at=(-.2, 0, .37) size=(.22, .4, .06) round=.03 color=walnut// the dock and a gullbox dock on=islet at=(.9, .12, 1.7) size=(.7, .14, 1.8) round=.04 color=walnutcyl dpost x2 on=dock row=(.6, 0, 0) at=(0, .08, .78) r=.06 h=.3 round=.02 color=oak segs=8ball gull on=dock at=(0, .24, -.45) r=(.13, .12, .18) color=white segs=10 rings=6 jointball ghead on=gull at=(0, .1, .14) r=.09 color=white segs=10 rings=6 jointcone beak on=ghead surf=(0, -5) h=.09 r=.03 r2=.01 color=marigold segs=8face gface on=ghead eyes=dot mouth=none size=.25 spacing=35 detail=.6ball wing on=gull at=(.12, .02, -.02) mirror r=(.04, .09, .16) color=silver segs=8 rings=5ball gtail on=gull at=(0, .02, -.2) r=(.06, .03, .1) color=silver segs=8 rings=5// idle: the lamp turns, the sea bobs, the flag waves, the gull nodsanim lamp spin hz=.3anim sea bob amp=.015 hz=.3anim flag ry sin amp=18 hz=.8anim ghead nod amp=10 hz=.4// states: the door swings open, the lamp signals fast and pulses, the gull hopsanim open_door: hinge ry keys=[0:0 .6:105 1:100] hz=.6 onceanim signal: lamp ry spin hz=1.2anim signal: lamp s sin amp=.2 hz=3anim hop: gull py bounce amp=.08 hz=2
Clean: no issues on this seed.
Loading
seed
Shapes— / 100
Triangles— / 8,000
Draw calls— / 4