Playground
From goblin_grunt · 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
asset goblin_grunt "Goblin grunt" complexity=5// one of the king's rabble: a knee-high goblin with a huge head, long ears, a snaggle tooth, a dented// pot for a helmet, a patched leather vest and a loincloth. Seeds give it a job: spear guard, torch// bearer, loot hauler with a bulging sack, or the idol thief holding a stolen golden idol overhead.// It fidgets at rest, marches on walk, and on run sprints with its arms pumping.let S = .92..1.08let skinC = lime:2|moss|hedge|mintlet vestC = walnut:2|redwood|oaklet clothC = plum:2|tomato|cobalt|mosslet role = int(0..3)let helm = chance(.6)// hips, legs, bare feetball pelvis at=(0, .36, 0)*S r=(.15, .1, .12)*S color=clothC segs=12 rings=8 jointbox loin on=pelvis at=(0, -.16, .08)*S rot=(-8, 0, 0) size=(.16, .2, .04)*S round=.02 color=clothClimb leg on=pelvis at=(.08, -.04, 0)*S mirror len=.24*S r=(.05, .04)*S color=skinC segs=8 jointball foot on=leg at=end+(0, -.035, .05) r=(.06, .045, .1)*S color=skinC segs=10 rings=6ball toe x3 on=foot at=(0, -.005, .09)*S row=(.035, 0, 0)*S r=.022*S color=skinC segs=6 rings=4// the body in a patched vestball body on=pelvis at=(0, .17, 0)*S r=(.17, .2, .15)*S color=vestC segs=16 rings=12 jointbox patch on=body surf=(30, 5) lift=-.01 size=(.07, .07, .02)*S color=sel(role, oak, moss, plum, tomato)ball stitch x3 on=patch at=(0, .036, .012)*S row=(.025, 0, 0)*S r=.008 color=cream segs=4 rings=3torus belt on=body at=(0, -.12*S, 0) R=.155*S r=.025*S color=inkDark*1.5 segs=16 sides=5box buckle on=belt at=(0, 0, .155*S) size=(.06, .05, .03)*S round=.01 color=brass// armslimb arm_l on=body at=(.16, .08, 0)*S rot=(0, 0, sel(role, 20, 20, 20, 150)) len=.2*S r=(.045, .035)*S color=skinC segs=8 jointball hand_l on=arm_l at=end r=.05*S color=skinC segs=8 rings=6limb arm_r on=body at=(-.16, .08, 0)*S rot=(0, 0, sel(role, -20, -20, -20, -150)) len=.2*S r=(.045, .035)*S color=skinC segs=8 jointball hand_r on=arm_r at=end r=.05*S color=skinC segs=8 rings=6// the big head, ears, nose, snaggle tooth, a pot helmetball head on=body at=(0, .32, .02)*S r=(.22, .19, .2)*S color=skinC segs=22 rings=16 jointface look on=head eyes=round mouth=fang size=.32 spacing=30 eyeY=8 mouthY=-30 mouthW=.5 iris=sunflower brows=inkDark detail=.6ball nose on=head at=(0, -.03, .19)*S r=(.05, .06, .06)*S color=skinC*.9 segs=8 rings=6cone ear on=head at=(.2, .03, -.01)*S mirror rot=(0, 0, -100) h=.3*S r=.08*S bend=25 scale=(1, 1, .45) color=skinC segs=8 jointcone snag on=head at=(-.06, -.12, .16)*S rot=(-10, 0, -8) h=.05*S r=.016 color=white segs=5ball pot on=head at=(0, .06, -.01)*S r=(.21, .14, .21)*S half color=iron segs=16 rings=6 if=helmtorus potRim on=pot at=(0, .005, 0) R=.21*S r=.02 color=iron*1.25 segs=16 sides=5box dent on=pot surf=(60, 40) lift=-.01 size=(.06, .03, .01)*S color=iron*.75// role 0: a spearrod spear on=hand_r at=(0, -.25, .02)*S rot=(20, 0, 0) to=(0, .95, 0)*S r=.018*S sides=6 color=walnut if=role==0cone spearTip on=spear at=end h=.12*S r=.035*S color=steel segs=6// role 1: a torchrod torch on=hand_r at=(0, -.06, .02)*S rot=(30, 0, 0) to=(0, .32, 0)*S r=.025*S sides=6 color=walnut if=role==1ball rag on=torch at=end r=(.05, .06, .05)*S color=redwood segs=8 rings=5ball fire on=rag at=(0, .07, 0)*S r=(.055, .1, .055)*S color=sunflower ink=glow segs=8 rings=6 joint// role 2: a bulging loot sack over the shoulderball sack on=body at=(-.12, .16, -.18)*S r=(.17, .2, .15)*S color=birch*.8 noise=.05 segs=12 rings=8 if=role==2torus tie on=sack at=(0, .17, 0)*S R=.05*S r=.018 color=walnut segs=10 sides=4cyl spill x2 on=sack at=(.04, .2, 0)*S row=(.06, .02, .02)*S rot=(0, 0, 30) h=.02 r=.04*S color=sunflower segs=10// role 3: the stolen golden idol held up highball idol on=head at=(0, .3, .02)*S r=(.1, .12, .09)*S color=sunflower segs=12 rings=8 if=role==3 jointball idolHead on=idol at=(0, .14, 0)*S r=(.08, .075, .075)*S color=sunflower segs=10 rings=7ball idolEye on=idolHead at=(.03, .01, .065)*S mirror r=.017*S color=cherry ink=glow segs=6 rings=4cone idolCrest x3 on=idolHead ring at=(.05, .06, 0)*S h=.06*S r=.02*S color=sunflower segs=4// idle: fidget and look round, ears twitchanim body rz sin amp=3 hz=.5anim head ry sin amp=18 hz=.3anim ear rz sin amp=8 hz=.8anim arm_l rx sin amp=6 hz=.5anim fire s sin amp=.2 hz=3anim idol py sin amp=.03 hz=1// walk: a bandy marchanim walk: leg gait amp=26 hz=1.8anim walk: arm_l rx sin amp=20 hz=1.8 phase=.5anim walk: arm_r rx sin amp=10 hz=1.8anim walk: pelvis py bounce amp=.02 hz=3.6// run: a panicked sprint, leaning forward, arms pumping, ears flappinganim run: leg gait amp=42 hz=3anim run: body rx sin amp=3 hz=6 phase=.25anim run: arm_l rx sin amp=40 hz=3 phase=.5anim run: pelvis py bounce amp=.04 hz=6anim run: ear rz sin amp=20 hz=6anim run: head rx sin amp=6 hz=6
Clean: no issues on this seed.
Loading
seed
Shapes— / 100
Triangles— / 8,000
Draw calls— / 4