Playground
From kaiju-3 · 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
asset kaiju "Crystal kaiju" complexity=10// Original 40 m kaiju boss: a heavy upright reptile with a big friendly-fierce head, brow ridges,// a toothy jaw with two proud lower tusks, cream belly plates, a glowing chest core, and rows of// crystal plates (glowing banded tips) from the head crest down a long drooping tail.// Seeds change the colourway (5), plate count, plate shape and size, horn style and head size.// States: idle, walk (stomp), roar, charge.// proportions and style geneslet way = int(0..4)let sh = int(0..2)let hornStyle = int(0..2)let HS = .94..1.1let PW = .9..1.25let PH = .9..1.3let TL = .92..1.06let Y0 = 19.7let psg = sel(sh, 4, 6, 5)let PHt = 3.8*PHlet PR = 1.7*PW// colourways: skin, belly, plates, glow tip and horn colourlet skinC = sel(way, grape, teal, tomato, lime, cobalt)let bellyC = sel(way, peach, cream, cream, cream, sunflower)let plateC = sel(way, tangerine, coral, navy, grape, tomato)let glowA = sel(way, lemon, sunflower, aqua, tangerine, lemon)let glowB = sel(way, white, cream, white, lemon, white)let hornC = cream:3|whitelet skinD = skinC*.8let plateHi = plateC*1.15// body: the root bone, a big round chest and bellyball body at=(0, Y0, 0) r=(7.5, 8.5, 6.5) color=skinC under=skinD segs=32 rings=20 jointball belly on=body surf=(0, -8) upright lift=-2.4 r=(4.7, 6.0, 3.4) color=bellyC*.86 segs=24 rings=14 jointball bplate x5 on=belly surf=(0, 28-i*18) r=(3.9-abs(28-i*18)*.03, .75, .8) color=bellyC segs=12 rings=7// thick legs with big planted feet (the shin capsule is short so its rounded end stays inside the foot)limb thigh on=body at=(4.7, -5.5, .3) mirror len=8 r=(3.7, 3.0) color=skinC segs=16 jointlimb shin on=thigh at=(0, -7.5, .7) len=3.4 r=(3.0, 2.6) bands=[.7:bellyC] color=skinC segs=16 jointball foot on=shin at=(0, -5.2, 1.2) r=(3.1, 1.5, 4.3) color=skinD segs=20 rings=12 jointcone toe x3 on=foot surf=(-34+i*34, -4) lift=-.5 h=1.9 r=.95 r2=.15 color=hornC segs=8// the long heavy tail: a root bone, then seven shrinking links drooping toward the groundball tailRoot on=body at=(0, -3.5, -5.2) rot=(-28, 0, 0) r=(4.2, 3.8, 4.8) color=skinC under=bellyC segs=22 rings=14 jointball tail x7 on=tailRoot at=(0, 0, -4.2*TL) chain=(0, 0, -4.2*TL) scale=.91 r=(3.9, 3.5, 4.4) color=skinC under=bellyC segs=20 rings=12 joint// head: big, with a snout, a hinged cream jaw and two lower tusksball head on=body at=(0, 9.4, 2.6) scale=HS r=(6, 5.5, 6.2) color=skinC under=skinD segs=32 rings=20 jointball snout on=head at=(0, -2.4, 5.0) r=(4.2, 2.6, 3.6) color=skinC segs=24 rings=14ball nostril on=snout mirror surf=(20, 52) upright lift=-.15 r=.55 color=inkDark ink=none segs=8 rings=5ball jaw on=head at=(0, -4.4, 1.0) r=1.2 color=bellyC segs=10 rings=6 jointball jawF on=jaw at=(0, -.4, 3.8) r=(4.9, 1.5, 4.6) color=bellyC segs=24 rings=12ball tongue on=jawF at=(0, 1.3, .2) r=(2.8, .55, 3.2) color=coral segs=14 rings=8cone tooth x7 on=jawF surf=(-72+i*24, 58) lift=-.25 h=1.3 r=.55 r2=.1 color=white segs=6cone tusk on=jawF mirror surf=(80, 22) upright lift=-.3 h=2.6 r=.75 r2=.12 color=white segs=8// arms: short and sturdy, with clawed handslimb arm on=body at=(5.5, 4.4, 2.0) mirror len=5.4 r=(2.0, 1.6) roll=12 color=skinC segs=14 jointball hand on=arm at=end-(0, .4, 0) r=(1.9, 1.7, 1.9) color=skinC segs=14 rings=9cone claw x3 on=hand surf=(-40+i*40, -50) lift=-.3 h=1.6 r=.55 r2=.08 color=hornC segs=8// brow ridges, cheek spikes and the horns (three styles)ball brow on=head mirror surf=(36, 34) upright lift=-.2 rot=(0, 0, 14) r=(2.2, .85, 1.5) color=skinD segs=14 rings=8cone cheek x3 on=head mirror surf=(86, 16-i*16) lift=-.5 h=2.6 r=.9 r2=.12 color=hornC segs=8cone hornA on=head mirror if=hornStyle==0 surf=(40, 58) upright lift=-.6 rot=(-24, 0, -14) h=5.5 r=1.5 r2=.25 color=hornC segs=10cone hornN on=head if=hornStyle==1 surf=(0, 66) upright lift=-.5 rot=(14, 0, 0) h=3.6 r=1.4 r2=.2 color=hornC segs=10cone hornB on=head mirror if=hornStyle==1 surf=(44, 62) upright lift=-.5 rot=(-18, 0, -12) h=2.6 r=1.0 r2=.2 color=hornC segs=8tube hornR on=head mirror if=hornStyle==2 at=(2.6, 3.4, -.6) pts=[0,-.6,0 .8,1.4,-.5 2.6,2.8,-1 4.4,3.1,-.6 5.5,2.1,.2] r=(1.3, .3) smooth sides=8 color=hornC detail=.8// crystal plates: back, shoulders, head crest, tail (each with a glowing banded tip)lathe plateB x5..7 on=body surf=(180, -2+t*57) lift=-.7 scale=1.12-abs(t-.5)*.5 h=PHt r=PR prof=[0:.55 .4:1 1:0] linear panels=psg segs=psg depth=.8 color=plateC bands=[.55:plateHi] jointcone tipB on=plateB at=(0, PHt*.76, 0) h=PHt*.5 r=PR*.36 r2=PR*.04 panels=psg segs=psg depth=.8 color=glowA bands=[.5:glowB] ink=glowlathe plateS on=body mirror surf=(70, 55) lift=-.7 scale=.8 h=PHt r=PR prof=[0:.55 .4:1 1:0] linear panels=psg segs=psg depth=.8 color=plateC bands=[.55:plateHi]cone tipS on=plateS at=(0, PHt*.76, 0) h=PHt*.5 r=PR*.36 r2=PR*.04 panels=psg segs=psg depth=.8 color=glowA bands=[.5:glowB] ink=glowlathe plateH x3..4 on=head surf=(180, 26+t*46) lift=-.6 scale=.75 h=PHt r=PR prof=[0:.55 .4:1 1:0] linear panels=psg segs=psg depth=.8 color=plateC bands=[.55:plateHi] jointcone tipH on=plateH at=(0, PHt*.76, 0) h=PHt*.5 r=PR*.36 r2=PR*.04 panels=psg segs=psg depth=.8 color=glowA bands=[.5:glowB] ink=glowlathe plateR on=tailRoot surf=(0, 90) lift=-.6 h=PHt*.9 r=PR*.95 prof=[0:.55 .4:1 1:0] linear panels=psg segs=psg depth=.8 color=plateC bands=[.55:plateHi]cone tipR on=plateR at=(0, PHt*.9*.76, 0) h=PHt*.45 r=PR*.34 r2=PR*.04 panels=psg segs=psg depth=.8 color=glowA bands=[.5:glowB] ink=glowlathe plateT on=tail surf=(0, 90) lift=-.6 h=PHt*.85 r=PR*.9 prof=[0:.55 .4:1 1:0] linear panels=psg segs=psg depth=.8 color=plateC bands=[.55:plateHi] jointcone tipT on=plateT at=(0, PHt*.85*.76, 0) h=PHt*.42 r=PR*.32 r2=PR*.04 panels=psg segs=psg depth=.8 color=glowA bands=[.5:glowB] ink=glow// glowing chest coreball core on=body surf=(0, 38) upright lift=-.6 r=(2.0, 2.0, 1.4) color=glowA bands=[.55:glowB] ink=glow segs=16 rings=10 joint// the face: big round eyes under the brow ridgesface look on=head eyes=round mouth=none spacing=25 eyeY=10 size=.2 detail=.8// fx: stomp dust, roar blast, charge sparkles at the mouthfx walk: puff on=foot at=(0, -1.2, 0) speed=2 spread=80 gravity=-.4 n=6 hz=1 size=.8 grow=3 color=rockSand color2=creamfx roar: puff on=jaw at=(0, .8, 8.6) dir=(0, .1, 1) speed=8 spread=18 gravity=-.6 n=9 hz=1 size=1 grow=3.2 color=white color2=creamfx roar: sparkle on=jaw at=(0, .8, 9.5) spread=2.8 n=16 hz=1.5 size=.45 color=glowA color2=whitefx charge: sparkle on=jaw at=(0, .8, 10) spread=2 n=18 hz=1.4 size=.5 color=glowA color2=white// idle: breathe, sway, slow head look, tail sway, plates shimmer, core glowanim belly breathe amp=.04 hz=.3anim body sway amp=.8 hz=.2anim head ry sin amp=14 hz=.1anim head nod amp=2.5 hz=.25anim jaw rx sin amp=1.5 hz=.3anim tailRoot ry sin amp=10 hz=.25anim tail ry sin amp=8 hz=.25 stagger=.1anim arm rx sin amp=4 hz=.3 twin=.5anim plateB rx sin amp=3 hz=.5 stagger=.09anim plateH rx sin amp=3 hz=.5 stagger=.09anim plateT rx sin amp=4 hz=.5 stagger=.09anim core s sin amp=.06 hz=.5// walk: ground-shaking stomp, planted feet, tail swing, plates rippleanim walk: thigh rx keys=[0:0 .25:-24 .5:0 .75:20 1:0] hz=.6 twin=.5anim walk: shin rx keys=[0:0 .15:30 .35:38 .5:0 .75:0 1:0] hz=.6 twin=.5anim walk: foot rx keys=[0:0 .25:-8 .5:0 .75:-20 1:0] hz=.6 twin=.5anim walk: body py bounce amp=.35 hz=1.2anim walk: body rz sin amp=2 hz=.6anim walk: head ry sin amp=6 hz=.6anim walk: arm rx sin amp=22 hz=.6 twin=.5anim walk: tailRoot ry sin amp=18 hz=.6anim walk: tail ry sin amp=10 hz=.6 stagger=.12anim walk: plateB rx sin amp=8 hz=1.2 stagger=.1anim walk: plateH rx sin amp=8 hz=1.2 stagger=.1anim walk: plateT rx sin amp=8 hz=1.2 stagger=.1// roar: head back, jaw open and chomping, arms up, plates flareanim roar: head rx keys=[0:0 .2:-30 .8:-30 1:0] hz=.5anim roar: head ry sin amp=5 hz=3anim roar: jaw rx keys=[0:0 .2:34 .5:26 .65:34 .8:30 1:0] hz=.5anim roar: arm rz keys=[0:0 .2:135 .8:135 1:0] hz=.5anim roar: tailRoot rx keys=[0:0 .2:12 .8:12 1:0] hz=.5anim roar: plateB s keys=[0:0 .2:.3 .8:.3 1:0] hz=.5anim roar: plateH s keys=[0:0 .2:.3 .8:.3 1:0] hz=.5anim roar: plateT s keys=[0:0 .2:.3 .8:.3 1:0] hz=.5anim roar: core s keys=[0:0 .2:.35 .8:.35 1:0] hz=.5// charge: crouch and hold, head low, jaw ajar, core and plates pulse brighteranim charge: thigh rx keys=[0:0 1:-25] hz=.8 onceanim charge: shin rx keys=[0:0 1:45] hz=.8 onceanim charge: foot rx keys=[0:0 1:-20] hz=.8 onceanim charge: body py keys=[0:0 1:-1] hz=.8 onceanim charge: body pz keys=[0:0 1:-1.4] hz=.8 onceanim charge: head rx keys=[0:0 1:10] hz=.8 onceanim charge: jaw rx keys=[0:0 1:16] hz=.8 onceanim charge: arm rx keys=[0:0 1:-35] hz=.8 onceanim charge: tailRoot rx keys=[0:0 1:10] hz=.8 onceanim charge: core s sin amp=.4 hz=2.5anim charge: plateB s sin amp=.25 hz=2.5 stagger=.07anim charge: plateH s sin amp=.25 hz=2.5 stagger=.07anim charge: plateT s sin amp=.25 hz=2.5 stagger=.07
Clean: no issues on this seed.
Loading
seed
Shapes— / 640
Triangles— / 48,000
Draw calls— / 8