Grassy ledge · celworld
seed

Grassy ledge

ledge v2Agent-madec3
Open in PlaygroundExplain this script

How v2 was made

Agent-made

Written by a Claude Code session with the cel command line: check, look, fix, save.

Script
17 lines
Output share
473
Time share
32s
The agent session

Budget

c3 · 17 lines
Shapes15 / 45
Triangles1,480 / 4,500
Draw calls1 / 3
States
None: it rests
Used in
Made
1asset ledge "Grassy ledge" complexity=3
2// a 4 m run of the low cliffs that wall a top-down town: a stony earth bank with a grassy lip that
3// overhangs its face, a row of rounded rocks bulging from the front, tufts and a flower on top.
4// Lines up end to end; the bank is meant to be seen from the front (+z).
5let L = 4.0
6let H = .85..0.95
7let earthC = sandstone:2|rockWarm|honey
8let rockC = rockWarm:2|rockGrey|rockSand
9let grassC = #9ed27a
10let lipC = #86c062
11
12box bank size=(L, H, 1.5) round=.12 bands=[.82:grassC] color=earthC
13box lip on=bank at=(0, H-.2, .06) size=(L+.04, .24, 1.68) round=.11 color=lipC
14ball rock x5 on=bank at=(0, H*.36, .74) row=(L*.2, 0, 0) r=(.36..0.44, .26..0.32, .14) color=rockC segs=10 rings=6 surface=rock
15ball pebble x4 on=bank at=(0, H*.12, .76) row=(L*.22, 0, 0) r=(.2, .12, .1) color=rockC*.9 segs=8 rings=5 surface=rock
16puff tuft x3 on=lip at=(0, .24, -.25) row=(L*.32, 0, 0) r=(.3, .16, .24) color=lipC*1.05 segs=10 rings=6
17ball bloom on=lip at=(L*.18, .3, .2) r=.08 color=flowerYellow|flowerPink|flowerWhite segs=8 rings=5 if=chance(.6)
18