Playground
From waterfall · 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
asset waterfall "Mountain waterfall" complexity=7// a mountain waterfall: a broad faceted cliff striped with strata and capped with moss, a stream// running over the top into a curling foam lip, a fanning sheet of falling water, foam heaped where// it lands, a round plunge pool ringed with boulders; drops fall, spray bursts and mist riseslet S = .95..1.08let H = 5.2*Slet rockC = rockCool:3|rockGrey:2|greystone|granitelet mossC = moss:3|leafA|tuftBaselet fallC = waterLight:3|aqualet tuftC = moss:2|tuftTip|leafA// the cliff and its two shoulderslathe cliff at=(0, 0, -1.4) h=H r=3.6 prof=[0:1 .6:.94 .85:.86 1:.7] linear sq=3 depth=.42 panels=10 phase=8 noise=.05 bands=[.3:rockC*.86 .4:rockC .66:rockC*.86 .74:rockC .9:mossC] color=rockC segs=40 rings=14lathe shoulder at=(2.9, 0, -.6) rot=(0, -25, 0) h=H*.62 r=1.9 prof=[0:1 .7:.92 1:.74] linear sq=3 depth=.6 panels=8 noise=.06 bands=[.45:rockC*.86 .56:rockC .86:mossC] color=rockC*1.04 segs=32 rings=10 mirror// the stream over the top, its banks, the foam lipbox stream at=(0, H-.1, -.5) size=(1.5, .15, 1.9) round=.06 color=water ink=thinball bank x2 row=(2.1, 0, 0) at=(0, H-.05, -.4) r=(.5, .38, .8) sq=3 noise=.08 color=rockC*.95 segs=16 rings=10cyl lip at=(-.78, H-.02, .42) rot=(0, 0, -90) h=1.56 r=.13 round=.05 color=foam ink=thin segs=12ball spout x3 on=lip row=(0, .5, 0) at=(.02, .78, 0) r=.06 color=foam ink=thin segs=8 rings=5// the falling sheet, the foam heap, the plunge poollathe sheet at=(0, .1, .32) h=H-.08 r=.72 prof=[0:1.4 .25:1.08 1:.96] sq=5 depth=.16 stripes=[fallC water fallC foam] panels=8 color=fallC ink=thin segs=24 rings=10cyl pool at=(0, 0, 1.75) h=.06 r=2.3 depth=.72 color=water ink=thin segs=36torus pondRim on=pool at=(0, .05, 0) R=2.3 r=.09 scale=(1, 1, .72) color=foam ink=thin segs=40 sides=6ball froth x6 ring=15 at=(0, .22, .55) r=(.36, .22, .3) color=foam ink=thin segs=12 rings=8 jointball heart at=(0, .3, .5) r=(.55, .3, .38) color=white ink=thin segs=16 rings=10 joint// boulders round the pool, tufts on the shelvesball boulder x7 on=pool ring=10 ring0=-15 at=(2.25, 0, 0) r=(.6, .45, .52) half sq=3 noise=.1 color=rockC*.92 segs=16 rings=8ball stepStone x2 row=(1.7, 0, 0) at=(0, 0, 3.6) r=(.42, .2, .36) half sq=3 noise=.08 color=rockC segs=12 rings=6cone tuft x2 on=cliff row=(.8, 0, 0) at=(1.5, H-.04, -.6) mirror h=.4 r=.16 panels=6 color=tuftC segs=6 rings=2// water: drops fall from the lip, spray bursts at the foot, mist risesfx jet on=spout dir=(0, -1, .18) speed=1 spread=5 hz=1.08 n=14 size=.13 grow=.6 color=foam color2=waterLight ink=thinfx splash on=heart at=(0, .25, .2) speed=1.7 spread=55 n=12 hz=1.3 size=.06fx puff on=froth at=(0, .2, 0) speed=.35 n=3 hz=.4 size=.12 grow=2.2 color=white color2=foamanim froth s sin amp=.12 hz=1.4 stagger=.18anim heart s sin amp=.06 hz=2.1
Clean: no issues on this seed.
Loading
seed
Shapes— / 200
Triangles— / 15,000
Draw calls— / 5