Goblin king · celworld
seed

Goblin king

goblin_king v1Agent-madec8
Open in Playground

v1 cost

$2.91est.

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

Output share
8.1k
Time share
4m 36s
The agent session
All 1 version$2.91

Budget

c8 · 105 lines
Shapes100 / 300
Triangles14,876 / 22,000
Draw calls4 / 6
States
walk · roar
Used in
Made
1asset goblin_king "Goblin king" complexity=8
2// the squatter king of the dragon's skull: a squat, pot-bellied goblin with a huge head, long drooping
3// ears with gold rings, tusks, a big nose and a smug fanged grin, a lopsided crown, a spotted fur
4// mantle over a royal tunic and a red cape. He carries a sceptre topped with a dragon-hatchling's skull
5// with burning eyes and a jewelled goblet. Idle he gloats and sips; on walk he waddles; on roar he
6// throws his head back, thrusts the sceptre high and bellows.
7let S = .95..1.08
8let skinC = lime:2|moss|hedge|mint
9let tunicC = grape:2|cobalt|redwood|plum
10let capeC = tomato:2|cherry|redwood
11let goldC = sunflower:2|marigold|brass
12let gemC = cherry:2|aqua|mint|cobalt
13let eyeGlow = lime:2|tomato|aqua
14let crownTilt = -14..14
15
16// hips, legs and boots
17ball pelvis at=(0, .6, 0)*S r=(.3, .2, .26)*S color=tunicC*.7 segs=16 rings=10 joint
18limb leg on=pelvis at=(.16, -.08, 0)*S mirror len=.42*S r=(.11, .085)*S color=tunicC*.7 segs=10 joint
19ball boot on=leg at=end+(0, -.03, .05) r=(.12, .09, .18)*S color=walnut segs=12 rings=8
20torus cuff on=leg at=(0, .26*S, 0) R=.1*S r=.035 color=walnut*1.2 segs=12 sides=5
21cone toe on=boot at=(0, .02, .17*S) rot=(70, 0, 0) h=.12*S r=.05 bend=-30 color=walnut segs=6
22
23// the pot-bellied body in its tunic and a belt
24ball body on=pelvis at=(0, .2, 0)*S r=(.42, .44, .38)*S color=tunicC bands=[.35:goldC .4:tunicC] segs=30 rings=20 joint
25torus belt on=body at=(0, -.2*S, 0) R=.38*S r=.05*S scale=(1, 1, .92) color=walnut segs=24 sides=6
26box buckle on=belt at=(0, 0, .37*S) size=(.18, .13, .05)*S round=.02 color=goldC
27ball buckleGem on=buckle at=(0, .065, .03) r=.035*S color=gemC panels=5 segs=6 rings=4
28
29// the spotted fur mantle and the cape
30torus mantle on=body at=(0, .3*S, -.01) R=.27*S r=.12*S color=cream segs=24 sides=10
31ball spot x6 on=mantle ring ring0=20 at=(.27*S, .08*S, 0) r=(.045, .025, .045)*S color=inkDark segs=6 rings=4
32slab cape on=body at=(0, .34*S, -.26*S) rot=(14, 0, 0) pts=[-.3,0 .3,0 .54,-.95 .2,-1.03 0,-.99 -.2,-1.03 -.54,-.95] t=.05 round=.02 color=capeC edge=capeC*.75
33
34// arms: sleeves, bare green forearms, big hands
35ball shoulder on=body at=(.4, .2, 0)*S mirror r=(.13, .12, .13)*S color=tunicC segs=12 rings=8
36limb arm_l on=body at=(.42, .2, 0)*S rot=(0, 0, 25) len=.32*S r=(.1, .085)*S color=tunicC segs=10 joint
37limb fore_l on=arm_l at=end rot=(-65, 0, -10) len=.28*S r=(.085, .07)*S color=skinC segs=10
38torus wrist_l on=fore_l at=(0, .02, 0) R=.085*S r=.03 color=goldC segs=12 sides=5
39ball hand_l on=fore_l at=end r=(.1, .09, .1)*S color=skinC segs=12 rings=8
40limb arm_r on=body at=(-.42, .2, 0)*S rot=(0, 0, -25) len=.32*S r=(.1, .085)*S color=tunicC segs=10 joint
41limb fore_r on=arm_r at=end rot=(-75, 0, 10) len=.28*S r=(.085, .07)*S color=skinC segs=10
42torus wrist_r on=fore_r at=(0, .02, 0) R=.085*S r=.03 color=goldC segs=12 sides=5
43ball hand_r on=fore_r at=end r=(.1, .09, .1)*S color=skinC segs=12 rings=8
44
45ball finger_l x3 on=hand_l at=(0, -.02, .08)*S row=(.055, 0, 0)*S r=(.032, .03, .045)*S color=skinC segs=8 rings=5
46ball thumb_l on=hand_l at=(.07, .04, .05)*S r=(.035, .03, .045)*S color=skinC segs=8 rings=5
47ball finger_r x3 on=hand_r at=(0, -.02, .08)*S row=(.055, 0, 0)*S r=(.032, .03, .045)*S color=skinC segs=8 rings=5
48ball thumb_r on=hand_r at=(-.07, .04, .05)*S r=(.035, .03, .045)*S color=skinC segs=8 rings=5
49torus ring_r on=finger_r at=(0, 0, -.01) rot=(90, 0, 0) R=.033*S r=.012 color=goldC segs=8 sides=4
50
51// spiked pauldrons, a dragon-tooth necklace with a medallion, the cape clasp, knee pads
52ball pauldron on=shoulder at=(0, .05, 0)*S r=(.15, .09, .15)*S half color=goldC segs=14 rings=6
53cone pSpike x3 on=pauldron at=(0, .05, 0)*S row=(0, 0, .09)*S rot=(0, 0, -50) h=.11*S r=.03*S color=cream segs=5
54cone tooth x7 on=mantle at=(0, -.12*S, .22*S) row=(.07, 0, -.004)*S rot=(180, 0, 0) h=.09*S r=.022*S color=white segs=5
55cyl medal on=body at=(0, .1, .38)*S rot=(80, 0, 0) h=.03 r=.08*S color=goldC segs=14
56ball medalGem on=medal at=(0, .03, 0) r=(.04, .02, .04)*S color=gemC panels=5 segs=8 rings=4
57ball clasp on=mantle at=(.2, .02, .16)*S mirror r=.04*S color=goldC segs=8 rings=5
58ball knee on=leg at=(0, .2*S, .06*S) r=(.07, .07, .05)*S color=walnut*1.15 segs=8 rings=6
59
60// the jewelled goblet in the left hand
61lathe goblet on=hand_l at=(.02, .04, .05) rot=(60, 0, 0) h=.3*S r=.09*S prof=[0:.9 .08:.9 .12:.25 .5:.22 .58:.6 .8:1 1:1.05] color=goldC segs=14 rings=8
62ball gGem x3 on=goblet ring at=(.08*S, .23*S, 0) r=.022*S color=gemC panels=4 segs=5 rings=3
63
64// the sceptre in the right hand, crowned with a hatchling's skull
65rod shaft on=hand_r at=(0, -.3, .02)*S rot=(65, 0, 0) to=(0, 1.15, 0)*S r=.035*S sides=8 color=walnut
66torus grip x3 on=shaft at=(0, .3*S, 0) row=(0, .08, 0)*S R=.04*S r=.015 color=goldC segs=10 sides=4
67ball sSkull on=shaft at=end+(0, .08, 0) r=(.11, .1, .13)*S color=cream segs=12 rings=8
68ball sSock on=sSkull at=(.045, .03, .08)*S mirror r=(.03, .035, .025)*S color=inkDark segs=6 rings=4
69ball sEye on=sSock at=(0, 0, .015) r=.018*S color=eyeGlow ink=glow segs=6 rings=4
70box sSnout on=sSkull at=(0, -.05, .1)*S size=(.1, .07, .12)*S round=.02 color=cream
71cone sHorn on=sSkull at=(.06, .07, -.04)*S mirror rot=(-50, 0, -20) h=.12*S r=.025 bend=-30 color=cream segs=5
72
73// the big head: ears, nose, tusks, face, crown
74ball head on=body at=(0, .64, .03)*S r=(.36, .32, .33)*S color=skinC segs=32 rings=22 joint
75face look on=head eyes=round lid=.2 mouth=fang size=.3 spacing=30 eyeY=10 mouthY=-32 mouthW=.55 iris=sunflower brows=inkDark detail=1
76ball nose on=head at=(0, -.06, .31)*S r=(.08, .1, .09)*S color=skinC*.9 segs=10 rings=7
77ball wart on=nose at=(.05, .04, .05)*S r=.022*S color=skinC*.75 segs=5 rings=4
78cone ear on=head at=(.32, .04, -.02)*S mirror rot=(0, 0, -95) h=.5*S r=.13*S bend=22 color=skinC segs=10 scale=(1, 1, .4) joint
79torus earring on=ear at=(0, .32*S, -.02) rot=(90, 0, 0) R=.05*S r=.014 color=goldC segs=10 sides=4
80cone tusk on=head at=(.13, -.2, .24)*S mirror rot=(-15, 0, 12) h=.11*S r=.032*S color=white segs=6
81cyl crown on=head at=(0, .24, -.02)*S rot=(-6, 0, crownTilt) h=.17*S r=.2*S color=goldC panels=6 open=top segs=14
82cone crownSpike x6 on=crown ring at=(.2*S, .17*S, 0) h=.12*S r=.035*S color=goldC segs=4
83ball crownGem x3 on=crown ring ring0=10 at=(.2*S, .08*S, 0) r=.03*S color=gemC panels=4 segs=5 rings=3
84torus crownBand on=crown at=(0, .015, 0) R=.205*S r=.02 color=redwood segs=16 sides=4
85
86fx roar: puff on=head at=(0, -.18, .3)*S n=5 spread=.25 hz=1.5
87
88// idle: smug breathing, a look round, ear flicks, a sip from the goblet
89anim body s sin amp=.025 hz=.45
90anim head ry sin amp=14 hz=.2
91anim ear rz sin amp=6 hz=.6
92anim arm_l rx keys=[0:0 .6:0 .7:-38 .85:-38 1:0] hz=.18
93anim arm_r rx sin amp=4 hz=.45
94// walk: a royal waddle
95anim walk: leg gait amp=22 hz=1.3
96anim walk: body rz sin amp=6 hz=.65
97anim walk: pelvis py bounce amp=.03 hz=2.6
98anim walk: arm_l rx sin amp=14 hz=1.3 phase=.5
99anim walk: arm_r rx sin amp=14 hz=1.3
100// roar: head back, sceptre thrust up, the belly shakes
101anim roar: head rx keys=[0:0 .2:-24 .7:-24 1:0] hz=.45
102anim roar: arm_r rx keys=[0:0 .2:-75 .7:-75 1:0] hz=.45
103anim roar: arm_l rz keys=[0:0 .2:30 .7:30 1:0] hz=.45
104anim roar: body rx keys=[0:0 .2:-8 .7:-8 1:0] hz=.45
105anim roar: ear rz sin amp=14 hz=4
106