Playground
From kaiju · 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
147
148
149
150
151
152
153
154
155
156
157
158
159
asset kaiju "Crystalback Kaiju" complexity=10// a friendly city-stomping boss: heavy upright reptile on thick legs with planted boot feet,// a long heavy tail, crystal plates from crown to tail tip with glowing banded tips,// a big head with brow ridges, small horns, a wide underbite jaw with tusk teeth,// belly plates and a glowing chest core// proportionslet HS = .93..1.07let TL = .92..1.06let PS = .88..1.18let LG = .94..1.08let NP = int(5..7)let pk = int(0..2)let hs = int(0..2)let dbl = chance(.5)// colourways: lagoon, magma, grape, moss, corallet cw = int(0..4)let skinC = sel(cw, teal, tomato, grape, leafPaint, coral)let darkC = sel(cw, navy, redwood, navy, bottle, redwood)let bellyC = sel(cw, cream, marigold, peach, sunflower, cream)let bellyD = bellyC*.85let crys = sel(cw, cobalt, plum, bubblegum, lilac, aqua)let gA = sel(cw, aqua, sunflower, aqua, lime, sunflower)let gB = sel(cw, white, lemon, white, white, white)let irisC = sel(cw, tangerine, lemon, sunflower, tangerine, cobalt)let hornC = sel(int(0..2), bellyC, darkC, crys)let clawC = cream// plate shape: 0 shard (faceted diamond), 1 spike, 2 blunt finlet PH = 5.2*PS*sel(pk, 1.15, 1, .82)let PR = .82*PSlet RK = sel(pk, 0, 0, .32)let PD = sel(pk, 2.7, 2.1, 3.0)let PSg = sel(pk, 4, 10, 8)let PPn = sel(pk, 4, 0, 0)// pelvis (root) and torsoball hips at=(0, 10.5, 0) r=(7, 5, 6) color=skinC segs=28 rings=16 jointlathe torso on=hips at=(0, -1.5, 0) h=19 r=7.5 prof=[0:.85 .2:1.06 .6:.95 .9:.7 1:.5] depth=.85 color=skinC segs=36 rings=22 jointball belly on=torso at=(0, 7.5, 5.0) r=(5.2, 7.5, 2.8) color=bellyC bands=[.17:bellyD .2:bellyC .37:bellyD .4:bellyC .57:bellyD .6:bellyC .77:bellyD .8:bellyC] segs=28 rings=18// legs: thick posts, big thighs, boot feet planted flat on the groundlimb leg on=hips at=(4.6, 0, .4) mirror len=6.5 r=(3.3, 3.0) bands=[.7:skinC*.85] color=skinC segs=18 jointball thigh on=leg at=(0, -1.2, 0) r=(3.8, 4.6, 4.2)*LG color=skinC segs=26 rings=16box foot on=leg at=(0, -10.5, 1.2) size=(5.6, 2.8, 8.2) round=1.2 color=skinC*.8 joint// tail: a heavy base and seven links curving down toward the groundball tailbase on=hips at=(0, 0, -4.5) rot=(-38, 0, 0) r=(3.8, 3.6, 4.4) under=bellyC color=skinC segs=26 rings=16 jointball tail x7 on=tailbase at=(0, 0, -4*TL) chain=(0, 0, -4.6*TL) rot=(7, 0, 0) scale=.87 r=(3.4, 3.2, 4.0) under=bellyC color=skinC segs=22 rings=14 joint// arms: short chubby arms with clawed handslimb arm on=torso at=(5.4, 14, 2.0) mirror rot=(-30, 0, 18) len=5 r=(2.0, 1.7) color=skinC segs=16 jointball shoulder on=arm at=(0, -.3, 0) r=2.5 color=skinC segs=18 rings=12ball hand on=arm at=end r=(1.9, 1.8, 1.9) color=skinC segs=16 rings=10// neck and headball neck on=torso at=(0, 17.5, .8) r=(4.6, 4.2, 4.6) under=bellyC color=skinC segs=24 rings=14 jointball head on=neck at=(0, 4.2, 2.0) scale=HS r=(6.2, 5.4, 5.8) color=skinC segs=36 rings=24 jointball snout on=head at=(0, -.8, 4.0) r=(4.4, 2.2, 3.4) color=skinC segs=26 rings=16ball maw on=head at=(0, -2.7, 4.0) r=(3.5, 1.1, 2.9) color=darkC*.55 segs=18 rings=10ball jaw on=head at=(0, -2.2, 1.0) r=.5 color=skinC segs=6 rings=4 jointball jawball on=jaw at=(0, -1.9, 2.6) r=(4.2, 1.7, 4.0) under=bellyC color=skinC segs=26 rings=16ball tongue on=jaw at=(0, -.9, 2.8) r=(2.4, .6, 2.4) color=bubblegum segs=14 rings=8// face features: brow ridges, nostrils, tusks, frill spikes, hornsball brow on=head at=(2.6, 3.7, 3.6) mirror rot=(0, 20, 10) r=(2.2, .85, 1.3) color=darkC segs=16 rings=8ball nostril on=snout at=(1.1, 1.25, 2.75) mirror r=(.55, .4, .5) color=darkC segs=10 rings=6cone tooth on=jawball at=(1.2, .55, 3.3) mirror h=1.5 r=.55 r2=.12 color=white segs=8cone fang on=jawball at=(2.7, .3, 2.6) mirror h=1.2 r=.45 r2=.1 color=white segs=8cone cheek x2 on=head surf=(80, -10-i*22) mirror lift=-.4 h=2.3-i*.5 r=.8 r2=.1 color=crys segs=8cone horn on=head surf=(40, 56) mirror lift=-.4 h=3.4 r=1.05 r2=.18 color=hornC segs=10 if=hs==0cone nub x2 on=head surf=(22+i*26, 62-i*16) mirror lift=-.3 h=1.9-i*.4 r=.8 r2=.2 color=hornC segs=8 if=hs==1cone rhino on=snout surf=(0, 62) lift=-.3 h=2.6 r=1.1 r2=.15 color=hornC segs=10 if=hs==2cone hornlet on=head surf=(48, 52) mirror lift=-.3 h=1.7 r=.75 r2=.15 color=hornC segs=8 if=hs==2// chest core: a glowing gem in a dark bezelball core on=belly at=(0, 4.0, 2.0) r=(2.0, 2.0, 1.1) color=gA bands=[.3:gB .7:gA] ink=glow segs=20 rings=12 jointball spark on=core at=(0, .3, .6) r=(1.1, 1.1, .7) color=gB ink=glow segs=14 rings=8torus bezel on=core rot=(90, 0, 0) R=2.1 r=.5 color=darkC segs=32 sides=8// clawscone toe x3 on=foot row=(1.75, 0, 0) at=(0, .9, 3.6) rot=(84, 0, 0) h=1.8 r=.8 r2=.1 color=clawC segs=8cone claw x3 on=hand row=(.95, 0, 0) at=(0, -1.3, .9) rot=(140, 0, 0) h=1.1 r=.42 r2=.08 color=clawC segs=8// crystal plates: back row (biggest mid-back), optional flanking rows, neck, crown, tail, tail spikecone plate x=NP on=torso surf=(180, -10+t*76) lift=-.7 scale=1-abs(t-.55)*.7 h=PH r=PR r2=PR*RK depth=PD segs=PSg panels=PPn color=crys jointcone btip on=plate at=(0, PH*.44, 0) h=PH*.58 r=PR*(1-.44*(1-RK))*1.1 r2=PR*RK*1.1 depth=PD segs=PSg panels=PPn color=gA bands=[.55:gB] ink=glow jointcone splate x=NP-1 on=torso surf=(164, -10+(i+.5)*76/(NP-1)) mirror lift=-.6 scale=.6 h=PH r=PR r2=PR*RK depth=PD segs=PSg panels=PPn color=crys if=dbl jointcone stip on=splate at=(0, PH*.44, 0) h=PH*.58 r=PR*(1-.44*(1-RK))*1.1 r2=PR*RK*1.1 depth=PD segs=PSg panels=PPn color=gA bands=[.55:gB] ink=glow jointcone nplate x2 on=neck surf=(180, 30+i*30) lift=-.5 scale=.72 h=PH r=PR r2=PR*RK depth=PD segs=PSg panels=PPn color=cryscone ntip on=nplate at=(0, PH*.44, 0) h=PH*.58 r=PR*(1-.44*(1-RK))*1.1 r2=PR*RK*1.1 depth=PD segs=PSg panels=PPn color=gA bands=[.55:gB] ink=glow jointcone hplate x3 on=head surf=(180, 76-t*46) lift=-.5 scale=.6-t*.12 h=PH r=PR r2=PR*RK depth=PD segs=PSg panels=PPn color=cryscone htip on=hplate at=(0, PH*.44, 0) h=PH*.58 r=PR*(1-.44*(1-RK))*1.1 r2=PR*RK*1.1 depth=PD segs=PSg panels=PPn color=gA bands=[.55:gB] ink=glow jointcone tplate on=tail surf=(0, 90) lift=-.5 scale=.75 h=PH r=PR r2=PR*RK depth=PD segs=PSg panels=PPn color=crys jointcone ttip on=tplate at=(0, PH*.44, 0) h=PH*.58 r=PR*(1-.44*(1-RK))*1.1 r2=PR*RK*1.1 depth=PD segs=PSg panels=PPn color=gA bands=[.55:gB] ink=glow jointcone tspike on=tail at=(0, .3, -3.4) rot=(-75, 0, 0) h=4.5 r=1.3 r2=0 color=crys segs=8 if=i==6cone sptip on=tspike at=(0, 2.0, 0) h=2.6 r=.78 r2=0 color=gA bands=[.55:gB] ink=glow segs=8// the face: big friendly eyes over the snout (the jaw is the mouth)face look on=head eyes=round mouth=none size=.24 spacing=30 eyeY=22 iris=irisC// fx: stomp dust, roar breath and stars, charge glow building at the mouthfx walk: puff on=foot at=(0, .4, 0) n=6 hz=1 speed=2.5 spread=75 gravity=-.4 size=.9 grow=2.6 color=sandstone color2=creamfx roar: puff on=head at=(0, -2.6, 7.2) dir=(0, .25, 1) n=12 hz=.9 speed=9 spread=22 gravity=-1 size=1.0 grow=3 color=white color2=gAfx roar: sparkle on=head at=(0, 1, 6) n=16 hz=1.2 spread=7 size=.6 color=gA color2=whitefx charge: smoke on=head at=(0, -2.4, 7.4) n=12 hz=.6 speed=1.2 spread=40 gravity=-1.2 size=.7 grow=2.8 color=gA color2=concretefx charge: sparkle on=head at=(0, -2.4, 8.5) n=14 hz=1.5 spread=3.5 size=.55 color=gA color2=gB// always: the core gently pulsesanim core s sin amp=.06 hz=.7// idle: breathing, slow tail sway, slow head lookanim idle: torso breathe amp=.02 hz=.25anim idle: tailbase ry sin amp=4 hz=.22anim idle: tail wag amp=5 hz=.22 stagger=.1anim idle: neck ry sin amp=14 hz=.1anim idle: head rx sin amp=4 hz=.25anim idle: jaw rx keys=[0:0 .5:5 1:0] hz=.25anim idle: arm rx sin amp=4 hz=.25 twin=.5anim idle: btip s sin amp=.08 hz=.5 stagger=.1// walk: heavy stomp, feet stay flat, tail swings, plates rippleanim walk: leg gait amp=18 hz=.5anim walk: foot rx sin amp=-18 hz=.5 twin=.5anim walk: hips py bounce amp=.5 hz=1anim walk: hips rz sin amp=3 hz=.5anim walk: torso rx sin amp=2 hz=1anim walk: arm gait amp=14 hz=.5anim walk: neck rx sin amp=3 hz=1 phase=.2anim walk: tailbase ry sin amp=8 hz=.5anim walk: tail ry sin amp=5 hz=.5 stagger=.1anim walk: plate rx sin amp=7 hz=1 stagger=.15anim walk: splate rx sin amp=7 hz=1 stagger=.15 phase=.1anim walk: tplate rx sin amp=8 hz=1 stagger=.15// roar: head back, jaw wide, arms up, tail liftsanim roar: neck rx keys=[0:0 .2:-30 .8:-30 1:0] hz=.3anim roar: head rx keys=[0:0 .2:-10 .8:-10 1:0] hz=.3anim roar: jaw rx keys=[0:0 .2:34 .8:34 1:0] hz=.3anim roar: arm rz keys=[0:0 .2:50 .8:50 1:0] hz=.3anim roar: arm rx keys=[0:0 .2:-60 .8:-60 1:0] hz=.3anim roar: torso rx keys=[0:0 .2:-8 .8:-8 1:0] hz=.3anim roar: tailbase rx keys=[0:0 .2:10 .8:10 1:0] hz=.3anim roar: btip s keys=[0:0 .2:.3 .8:.3 1:0] hz=.3// charge: crouch forward, jaw parts, core and plate tips pulse hardanim charge: torso rx keys=[0:0 1:14] hz=.8 onceanim charge: neck rx keys=[0:0 1:-8] 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: tailbase rx keys=[0:0 1:8] hz=.8 onceanim charge: core s sin amp=.25 hz=2anim charge: btip s sin amp=.3 hz=2 stagger=.08anim charge: stip s sin amp=.3 hz=2 stagger=.08anim charge: ntip s sin amp=.3 hz=2 stagger=.08anim charge: htip s sin amp=.3 hz=2 stagger=.08anim charge: ttip s sin amp=.3 hz=2 stagger=.08
Clean: no issues on this seed.
Loading
seed
Shapes— / 640
Triangles— / 48,000
Draw calls— / 8