Gold hoard pile · celworld
seed

Gold hoard pile

gold_pile v1Agent-madec3
Open in Playground

v1 cost

$0.935est.

Agent-made: its share of a Claude Code session, priced as API-equivalent Opus 5.5.

Output share
2.6k
Time share
89s
The agent session
All 1 version$0.935

Budget

c3 · 34 lines
Shapes28 / 45
Triangles3,352 / 4,500
Draw calls2 / 3
States
None: it rests
Used in
Made
1asset gold_pile "Gold hoard pile" complexity=3
2// a heap of the hoard: a mound of gold coins with a few towers of stacked coins, a jewelled goblet
3// and a fat gem or two, sparkles winking over it. Seeds change the heap's size and the extras:
4// a crown, a second goblet, or a sword stuck in the top.
5let S = .85..1.25
6let goldC = sunflower:3|marigold
7let gemC = cherry:2|cobalt|mint|grape|aqua
8let gemB = cobalt|cherry|lime|bubblegum
9let extra = int(0..2)
10
11// the heap
12ball heap r=(.7, .4, .6)*S half color=goldC noise=.04 segs=26 rings=10
13ball heapB on=heap at=(.42, 0, .3)*S r=(.38, .26, .34)*S half color=goldC noise=.05 segs=18 rings=8
14ball heapC on=heap at=(-.45, 0, -.2)*S r=(.32, .22, .3)*S half color=goldC noise=.05 segs=16 rings=7
15cyl 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=12
16cyl stack x5 on=heapB at=(.15, .2, .1) chain=(.004, .026, 0) h=.024 r=.075 color=sunflower cap=marigold segs=12
17cyl stackB x4 on=heapC at=(-.08, .17, .1) chain=(-.004, .026, .002) h=.024 r=.075 color=marigold cap=sunflower segs=12
18
19// the goblet and the gems
20lathe 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=10
21ball gemCup x3 on=goblet ring at=(.1, .26, 0) r=.028 color=gemC panels=5 segs=5 rings=3
22ball gem on=heap at=(.25, .33*S, -.15) r=(.1, .09, .1) color=gemC panels=6 segs=6 rings=4
23ball gem2 on=heapB at=(-.1, .2, .12) r=(.07, .065, .07) color=gemB panels=6 segs=6 rings=4
24
25// extras by seed: a crown, a second goblet, a sword in the heap
26cyl 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==0
27cone spike x6 on=crown ring at=(.12, .1, 0) h=.08 r=.03 color=sunflower segs=4
28lathe 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==1
29box blade on=heap at=(-.2, .2*S, -.15) rot=(-8, 30, 14) size=(.08, .8, .025) round=.015 color=steel if=extra==2
30box guard on=blade at=(0, .62, 0) size=(.26, .05, .06) round=.02 color=brass
31cyl grip on=guard at=(0, .05, 0) h=.18 r=.025 color=walnut segs=8
32ball pommel on=grip at=(0, .2, 0) r=.04 color=gemB segs=8 rings=5
33
34fx sparkle on=heap at=top+(0, .2, 0) n=6 spread=.5 hz=.7
35