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