Playground
From gold_pile · 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
asset gold_pile "Gold hoard pile" complexity=3// a heap of the hoard: a mound of gold coins with a few towers of stacked coins, a jewelled goblet// and a fat gem or two, sparkles winking over it. Seeds change the heap's size and the extras:// a crown, a second goblet, or a sword stuck in the top.let S = .85..1.25let goldC = sunflower:3|marigoldlet gemC = cherry:2|cobalt|mint|grape|aqualet gemB = cobalt|cherry|lime|bubblegumlet extra = int(0..2)// the heapball heap r=(.7, .4, .6)*S half color=goldC noise=.04 segs=26 rings=10ball heapB on=heap at=(.42, 0, .3)*S r=(.38, .26, .34)*S half color=goldC noise=.05 segs=18 rings=8ball heapC on=heap at=(-.45, 0, -.2)*S r=(.32, .22, .3)*S half color=goldC noise=.05 segs=16 rings=7cyl coin x9 on=heap surf=(i*40+15, 18+i*6) lift=-.01 rot=(0, 0, 10) h=.025 r=.07 color=marigold cap=sunflower segs=12cyl stack x5 on=heapB at=(.15, .2, .1) chain=(.004, .026, 0) h=.024 r=.075 color=sunflower cap=marigold segs=12cyl stackB x4 on=heapC at=(-.08, .17, .1) chain=(-.004, .026, .002) h=.024 r=.075 color=marigold cap=sunflower segs=12// the goblet and the gemslathe goblet on=heap at=(-.15, .24*S, .12) h=.36 r=.12 prof=[0:.9 .08:.9 .12:.25 .5:.22 .58:.6 .8:1 1:1.05] color=brass segs=16 rings=10ball gemCup x3 on=goblet ring at=(.1, .26, 0) r=.028 color=gemC panels=5 segs=5 rings=3ball gem on=heap at=(.25, .33*S, -.15) r=(.1, .09, .1) color=gemC panels=6 segs=6 rings=4ball gem2 on=heapB at=(-.1, .2, .12) r=(.07, .065, .07) color=gemB panels=6 segs=6 rings=4// extras by seed: a crown, a second goblet, a sword in the heapcyl crown on=heap at=(.15, .3*S, .3) rot=(-14, 0, 8) h=.12 r=.13 color=sunflower panels=6 open=top segs=12 if=extra==0cone spike x6 on=crown ring at=(.12, .1, 0) h=.08 r=.03 color=sunflower segs=4lathe goblet2 on=heapC at=(.1, .16, -.05) rot=(0, 0, 70) h=.3 r=.1 prof=[0:.9 .08:.9 .12:.25 .5:.22 .58:.6 .8:1 1:1.05] color=silver segs=14 rings=8 if=extra==1box blade on=heap at=(-.2, .2*S, -.15) rot=(-8, 30, 14) size=(.08, .8, .025) round=.015 color=steel if=extra==2box guard on=blade at=(0, .62, 0) size=(.26, .05, .06) round=.02 color=brasscyl grip on=guard at=(0, .05, 0) h=.18 r=.025 color=walnut segs=8ball pommel on=grip at=(0, .2, 0) r=.04 color=gemB segs=8 rings=5fx sparkle on=heap at=top+(0, .2, 0) n=6 spread=.5 hz=.7
Clean: no issues on this seed.
Loading
seed
Shapes— / 45
Triangles— / 4,500
Draw calls— / 3