Playground
From skeleton_guard · 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
asset skeleton_guard "Skeleton guard" complexity=5// a toy-like skeleton guard: a big round skull with deep sockets and two glowing pupils, a chattering// jaw, a stack of hoop ribs on a knobbly spine, bony limbs with fat knob joints, a dented helmet with// a plume, a round shield on one arm and a rusty spear or sword in the other fist. It sways and// chatters at rest, clacks along on walk, and on rattle shakes itself to pieces (nearly).let S = .95..1.08let boneC = cream:3|white|birchlet eyeC = aqua:2|lime|sunflowerlet shieldC = cherry:2|cobalt|teal|grape|marigoldlet rimC = iron:2|brass|copperlet plumeC = tomato:2|cherry|sunflower|grapelet helm = int(0..2)let spear = chance(.6)// hips and spineball pelvis at=(0, .64*S, 0) r=(.15, .085, .11)*S color=boneC segs=14 rings=8 jointrod spine on=pelvis at=(0, .04, -.02) to=(0, .4, .01)*S r=.035 sides=8 color=boneC jointball vert x3 on=spine at=(0, .14*S, -.02) row=(0, .11*S, 0) r=(.05, .035, .05) color=boneC segs=8 rings=5torus rib x3 on=spine at=(0, .15*S, .03) row=(0, .085*S, 0) R=.135*S r=.026 scale=(1, 1, .78) color=boneC segs=16 sides=6box sternum on=spine at=(0, .1*S, .13*S) size=(.05, .2, .04)*S round=.015 color=boneCrod collar on=spine at=(-.2*S, .4*S, .01) to=(.4*S, 0, 0) r=.03 sides=6 color=boneC// the head: skull, sockets, glowing pupils, nose hole, jawball head on=spine at=(0, .57*S, .02) r=(.2, .18, .19)*S color=boneC segs=20 rings=14 jointball socket on=head at=(.075, .02, .16)*S mirror r=(.058, .068, .04)*S color=inkDark ink=none segs=10 rings=7ball pupil on=socket at=(0, -.005, .028) r=.026*S color=eyeC ink=glow segs=8 rings=5cone nose on=head at=(0, -.06*S, .18*S) rot=(-100, 0, 0) h=.035 r=.028 color=inkDark ink=none segs=3ball cheek on=head at=(.1, -.08, .1)*S mirror r=(.06, .05, .06)*S color=boneC segs=8 rings=6box jaw on=head at=(0, -.17*S, .07*S) size=(.22, .07, .16)*S round=.03 color=boneC jointbox teeth on=head at=(0, -.12*S, .145*S) size=(.15, .035, .03)*S round=.01 stripes=[white boneC] panels=5 color=white// helmet by seed: a kettle helm with a plume, a horned cap, or bare-headedball helmet on=head at=(0, .04*S, -.01) r=(.215, .165, .215)*S half color=rimC segs=18 rings=7 if=helm<2torus brim on=helmet at=(0, .005, 0) R=.21*S r=.025 color=rimC*1.2 segs=20 sides=5puff plume on=helmet at=(0, .15*S, -.02) r=(.05, .09, .13)*S color=plumeC segs=10 rings=6 if=helm==0cone horn on=helmet at=(.15*S, .08*S, 0) mirror rot=(0, 0, -55) h=.15*S r=.035 bend=-30 color=white segs=8 if=helm==1// arms: knob shoulders, bony upper and fore arms, round fistsball shoulder on=spine at=(.21*S, .4*S, .01) mirror r=.045*S color=boneC segs=8 rings=6limb arm_l on=spine at=(.21*S, .39*S, .01) rot=(0, 0, 8) len=.21*S r=(.03, .026) color=boneC segs=8 jointball elbow_l on=arm_l at=end r=.04*S color=boneC segs=8 rings=5limb fore_l on=arm_l at=end rot=(-60, 0, 0) len=.19*S r=(.026, .022) color=boneC segs=8ball fist_l on=fore_l at=end r=.045*S color=boneC segs=8 rings=6limb arm_r on=spine at=(-.21*S, .39*S, .01) rot=(0, 0, -8) len=.21*S r=(.03, .026) color=boneC segs=8 jointball elbow_r on=arm_r at=end r=.04*S color=boneC segs=8 rings=5limb fore_r on=arm_r at=end rot=(-35, 0, 0) len=.19*S r=(.026, .022) color=boneC segs=8ball fist_r on=fore_r at=end r=.045*S color=boneC segs=8 rings=6// the round shield on the left forearm, a weapon in the right fistcyl shield on=fore_l at=(.05*S, -.1*S, 0) rot=(0, 0, -90) h=.05 r=.2*S color=shieldC stripes=[shieldC shieldC*.82] panels=6 segs=18torus shieldRim on=shield at=(0, .05, 0) R=.19*S r=.022 color=rimC segs=20 sides=5ball boss on=shield at=(0, .06, 0) r=(.06, .04, .06)*S color=rimC segs=10 rings=5rod shaft on=fist_r at=(0, -.35*S, 0) to=(0, 1.2, 0)*S r=.018 sides=6 color=walnut if=spearcone tip on=shaft at=end h=.16*S r=.045 color=iron segs=6box blade on=fist_r at=(0, .02, 0) rot=(75, 0, 0) size=(.06, .5, .02)*S round=.01 color=steel if=spear==0box guard on=blade at=(0, -.02, 0) size=(.16, .03, .04)*S round=.01 color=rimC// legs: thighs, knees, shins and flat bony feetlimb leg on=pelvis at=(.085*S, -.03, 0) mirror len=.27*S r=(.034, .03) color=boneC segs=8 jointball knee on=leg at=end r=.04*S color=boneC segs=8 rings=5limb shin on=leg at=end len=.26*S r=(.027, .024) color=boneC segs=8box foot on=shin at=end+(0, -.075, .04) size=(.09, .05, .16)*S round=.02 color=boneC// idle: sway, chatter, look aboutanim spine sway amp=3 hz=.4anim head ry sin amp=12 hz=.25anim jaw rx sin amp=8 hz=1.6anim arm_l rx sin amp=4 hz=.4anim arm_r rx sin amp=4 hz=.4 phase=.5// walk: clacking gait, swinging arms, a bobanim walk: leg gait amp=26 hz=1.5anim walk: arm_l rx sin amp=22 hz=1.5 phase=.5anim walk: arm_r rx sin amp=22 hz=1.5anim walk: pelvis py bounce amp=.025 hz=3anim walk: jaw rx sin amp=12 hz=3// rattle: shake from the spine up, the jaw going like castanets, arms flailinganim rattle: spine rz sin amp=9 hz=7anim rattle: head rx sin amp=10 hz=5.5anim rattle: jaw rx sin amp=22 hz=9anim rattle: arm_l rz sin amp=18 hz=6anim rattle: arm_r rz sin amp=-18 hz=6anim rattle: pelvis py bounce amp=.03 hz=5
Clean: no issues on this seed.
Loading
seed
Shapes— / 100
Triangles— / 8,000
Draw calls— / 4