Dragonheart altar · celworld
seed

Dragonheart altar

crystal_altar v1Agent-madec5
Open in Playground

v1 cost

$1.55est.

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

Output share
4.3k
Time share
2m 27s
The agent session
All 1 version$1.55

Budget

c5 · 60 lines
Shapes66 / 100
Triangles7,164 / 8,000
Draw calls3 / 4
States
None: it rests
Used in
Made
1asset crystal_altar "Dragonheart altar" complexity=5
2// the shrine's prize: an octagonal stepped dais ringed by four rune obelisks, and on a carved column
3// the Dragonheart, a huge faceted crystal hanging in the air, turning slowly and breathing light. Two
4// rune hoops orbit it with shards riding them, offerings of gold, skulls and candles crowd the steps,
5// and the pressure plate in front waits for whoever lifts the next one.
6let crystalC = aqua:2|mint|grape|cherry
7let stoneC = greystone:2|sandstone|rockCool
8let trimC = brass:2|sunflower
9let offer = int(0..2)
10
11// the stepped dais and the column
12box dais size=(3.4, .2, 3.4) round=.03 bev=2 color=stoneC*.9
13box step2 on=dais at=(0, .2, 0) size=(2.6, .2, 2.6) round=.03 bev=2 color=stoneC
14box step3 on=dais at=(0, .4, 0) size=(1.9, .2, 1.9) round=.03 bev=2 color=stoneC*1.06
15lathe column on=dais at=(0, .6, 0) h=1.1 r=.32 prof=[0:1.1 .12:1 .18:.75 .8:.75 .86:1 1:1.15] color=stoneC*1.08 segs=8 rings=8
16cyl bowl on=column at=(0, 1.1, 0) h=.1 r=.42 color=trimC segs=16 open=top
17torus bowlRim on=bowl at=(0, .1, 0) R=.42 r=.035 color=trimC segs=24 sides=5
18cone claw x4 on=bowl ring ring0=45 at=(.4, .06, 0) rot=(0, 0, -30) h=.3 r=.05 bend=-40 color=trimC segs=5
19box glyph x4 on=dais ring at=(1.31, .26, 0) rot=(0, 90, 0) size=(1.2, .08, .03) color=crystalC ink=glow
20
21// the Dragonheart: a faceted bipyramid floating above the bowl
22cone heartTop on=bowl at=(0, .95, 0) h=.7 r=.34 color=crystalC ink=glow segs=6 joint
23cone heartLow on=heartTop at=(0, 0, 0) rot=(180, 0, 0) h=.45 r=.34 color=crystalC*.8 ink=glow segs=6
24ball core on=heartTop at=(0, .12, 0) r=.2 color=white ink=glow segs=8 rings=6
25
26// the orbiting hoops and their shards
27torus hoopA on=bowl at=(0, 1.05, 0) rot=(20, 0, 0) R=.72 r=.03 color=trimC segs=28 sides=5 joint
28cone shardA x3 on=hoopA ring at=(.72, 0, 0) h=.2 r=.06 color=crystalC ink=glow segs=4
29cone shardAb on=shardA at=(0, 0, 0) rot=(180, 0, 0) h=.12 r=.06 color=crystalC ink=glow segs=4
30torus hoopB on=bowl at=(0, 1.0, 0) rot=(-25, 0, 195) R=.92 r=.025 color=trimC segs=32 sides=5 joint
31cone shardB x4 on=hoopB ring ring0=45 at=(.92, 0, 0) h=.16 r=.05 color=crystalC ink=glow segs=4
32
33// four rune obelisks at the corners of the dais
34box obelisk x4 on=dais ring ring0=45 at=(2.05, .2, 0) size=(.32, 1.9, .32) round=.04 bev=2 bands=[.08:stoneC*.85 .12:stoneC] color=stoneC
35cone cap on=obelisk at=(0, 1.9, 0) rot=(0, 45, 0) h=.32 r=.24 color=stoneC*1.1 segs=4
36box rune on=obelisk at=(0, 1.0, 0) size=(.24, .56, .35) round=.02 color=inkDark
37box runeGlow on=rune at=(0, .09, 0) size=(.14, .38, .37) color=crystalC ink=glow
38ball capGem on=cap at=(0, .33, 0) r=.06 color=crystalC ink=glow panels=4 segs=5 rings=3
39
40// offerings on the steps
41cyl candle x4 on=dais ring at=(1.12, .4, 0) h=.2+i*.04 r=.04 color=cream segs=8
42ball flame on=candle at=end+(0, .05, 0) r=(.03, .055, .03) color=sunflower ink=glow segs=6 rings=4 joint
43ball coinHeap on=dais at=(.35, .62, .5) r=(.24, .12, .2) half color=sunflower segs=12 rings=5 if=offer==0
44ball offSkull x2 on=dais at=(-.35, .69, .52) row=(.3, 0, -.14) r=(.1, .09, .1) color=cream segs=10 rings=6 if=offer!=0
45ball offEye on=offSkull at=(.035, .01, .08) mirror r=(.025, .03, .02) color=inkDark segs=6 rings=4
46lathe urn on=dais at=(-.5, .62, -.4) h=.36 r=.13 prof=[0:.7 .15:1 .55:1.05 .8:.6 1:.75] color=sel(offer, redwood, copper, plum) segs=12 rings=8
47
48// the pressure plate in front
49box plate at=(0, 0, 2.05) size=(.7, .06, .5) round=.02 bev=2 color=stoneC*.8
50box plateMark on=plate at=(0, .06, 0) size=(.4, .015, .22) color=tomato
51
52fx sparkle on=heartTop at=(0, .1, 0) n=8 spread=.9 hz=.6
53
54// the heart turns and breathes, the hoops orbit, candles flicker
55anim heartTop ry spin hz=.08
56anim heartTop py sin amp=.08 hz=.35
57anim heartTop s sin amp=.06 hz=.7
58anim hoopA ry spin hz=.12
59anim hoopB ry spin hz=.09
60anim flame s sin amp=.2 hz=2.4 stagger=.3
61