Speckle · celworld
seed

Speckle

speckle v1Agent-madec4
Open in Playground

v1 cost

$0.633est.

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

Output share
3.6k
Time share
2m 36s
The agent session
All 1 version$0.633

Budget

c4 · 46 lines
Shapes23 / 70
Triangles4,128 / 6,000
Draw calls2 / 4
States
idle · flutter · peek · walk
Used in
Made
1asset speckle "Speckle" complexity=4
2// a ladybird-ish bug critter: a high domed shell split into two spotted halves over a dark body, a
3// round head with big eyes and two antennae tipped with balls, six stubby legs. Colourways:
4// cherry with ink spots, sunflower with ink spots, and a rare shiny mint with white spots.
5// States: idle (antennae wiggle, a breath), flutter (the shell halves lift, wings buzz, it hovers),
6// peek (rises up and swivels), walk (a six-legged scurry).
7let S = .92..1.08
8let shiny = chance(.08)
9let alt = chance(.45)
10let way = shiny*2 + (1-shiny)*alt
11let shellC = sel(way, cherry, sunflower, mint)
12let spotC = sel(way, inkDark, inkDark, white)
13let bodyC = sel(way, navy, iron, teal)
14let wingC = sel(way, glass, glass, lilac)
15
16// body: a dark oval underbody, the root bone, on six stubby legs
17ball body at=(0, .14*S, 0) r=(.15, .09, .19)*S color=bodyC segs=18 rings=10 joint
18limb leg x3 on=body row=(0, 0, .11*S) at=(.11*S, -.04*S, 0) mirror roll=50 len=.075*S r=(.032, .026)*S color=bodyC segs=8 joint
19
20// the shell: two domed halves that lift for flight, spotted
21ball shell on=body at=(.082*S, .02*S, -.01*S) mirror r=(.16, .15, .2)*S half scale=(.5, 1, 1) color=shellC segs=16 rings=8 joint
22ball spot x2 on=shell surf=(40, 30) lift=-.025*S row=(0, 0, .1*S) r=(.035, .035, .025)*S upright color=spotC segs=8 rings=5
23ball spot2 on=shell surf=(60, 65) lift=-.02*S r=(.03, .03, .022)*S upright color=spotC segs=8 rings=5
24ball wing on=body at=(.06*S, .1*S, -.08*S) mirror r=(.07, .012, .12)*S color=wingC segs=10 rings=5 joint
25
26// the head, face and antennae
27ball head on=body at=(0, .05*S, .19*S) r=(.13, .11, .1)*S color=bodyC segs=18 rings=10 joint
28face look on=head eyes=round mouth=smile size=.36 spacing=34 eyeY=10 mouthY=-30 mouthW=.3 skin=bodyC detail=.7
29rod antenna on=head at=(.04*S, .08*S, 0) mirror to=(.06, .14, .04)*S r=.014*S sides=5 color=bodyC joint
30ball knob on=antenna at=end r=.03*S color=shellC segs=8 rings=5
31
32// idle: antennae wiggle, a breath, a head tilt
33anim idle: antenna rz sin amp=12 hz=1.1 twin=.5
34anim idle: body breathe
35anim idle: head rz sin amp=5 hz=.35
36// flutter: the shell halves swing up, the wings buzz, it hovers
37anim flutter: shell rz keys=[0:0 .2:-55 .8:-55 1:0] hz=.4
38anim flutter: wing ry sin amp=30 hz=6
39anim flutter: body py keys=[0:0 .25:.14 .75:.14 1:0] hz=.4
40anim flutter: antenna rz sin amp=20 hz=3 twin=.5
41// peek: rises up and swivels
42anim peek: body py keys=[0:0 .2:.08 .8:.08 1:0] hz=.35
43anim peek: head ry keys=[0:0 .3:25 .5:-25 .7:0 1:0] hz=.35
44// walk: a six-legged scurry
45anim walk: leg gait amp=26 hz=3 stagger=.33
46anim walk: body rz sin amp=3 hz=3
47