Crystalback Kaiju · celworld
seed

Crystalback Kaiju

kaiju v1Made by APIc10
Open in Playground

v1 cost

$1.24

API, priced from the call usage.

Time
7m 55s
The run, with the maths
All 1 version$1.24

Budget

c10 · 158 lines
Shapes96 / 640
Triangles30,036 / 48,000
Draw calls8 / 8
States
idle · walk · roar · charge
Used in
No scene yet
Made
1asset kaiju "Crystalback Kaiju" complexity=10
2// a friendly city-stomping boss: heavy upright reptile on thick legs with planted boot feet,
3// a long heavy tail, crystal plates from crown to tail tip with glowing banded tips,
4// a big head with brow ridges, small horns, a wide underbite jaw with tusk teeth,
5// belly plates and a glowing chest core
6
7// proportions
8let HS = .93..1.07
9let TL = .92..1.06
10let PS = .88..1.18
11let LG = .94..1.08
12let NP = int(5..7)
13let pk = int(0..2)
14let hs = int(0..2)
15let dbl = chance(.5)
16
17// colourways: lagoon, magma, grape, moss, coral
18let cw = int(0..4)
19let skinC = sel(cw, teal, tomato, grape, leafPaint, coral)
20let darkC = sel(cw, navy, redwood, navy, bottle, redwood)
21let bellyC = sel(cw, cream, marigold, peach, sunflower, cream)
22let bellyD = bellyC*.85
23let crys = sel(cw, cobalt, plum, bubblegum, lilac, aqua)
24let gA = sel(cw, aqua, sunflower, aqua, lime, sunflower)
25let gB = sel(cw, white, lemon, white, white, white)
26let irisC = sel(cw, tangerine, lemon, sunflower, tangerine, cobalt)
27let hornC = sel(int(0..2), bellyC, darkC, crys)
28let clawC = cream
29
30// plate shape: 0 shard (faceted diamond), 1 spike, 2 blunt fin
31let PH = 5.2*PS*sel(pk, 1.15, 1, .82)
32let PR = .82*PS
33let RK = sel(pk, 0, 0, .32)
34let PD = sel(pk, 2.7, 2.1, 3.0)
35let PSg = sel(pk, 4, 10, 8)
36let PPn = sel(pk, 4, 0, 0)
37
38// pelvis (root) and torso
39ball hips at=(0, 10.5, 0) r=(7, 5, 6) color=skinC segs=28 rings=16 joint
40lathe 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 joint
41ball 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
42
43// legs: thick posts, big thighs, boot feet planted flat on the ground
44limb 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 joint
45ball thigh on=leg at=(0, -1.2, 0) r=(3.8, 4.6, 4.2)*LG color=skinC segs=26 rings=16
46box foot on=leg at=(0, -10.5, 1.2) size=(5.6, 2.8, 8.2) round=1.2 color=skinC*.8 joint
47
48// tail: a heavy base and seven links curving down toward the ground
49ball 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 joint
50ball 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
51
52// arms: short chubby arms with clawed hands
53limb 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 joint
54ball shoulder on=arm at=(0, -.3, 0) r=2.5 color=skinC segs=18 rings=12
55ball hand on=arm at=end r=(1.9, 1.8, 1.9) color=skinC segs=16 rings=10
56
57// neck and head
58ball neck on=torso at=(0, 17.5, .8) r=(4.6, 4.2, 4.6) under=bellyC color=skinC segs=24 rings=14 joint
59ball head on=neck at=(0, 4.2, 2.0) scale=HS r=(6.2, 5.4, 5.8) color=skinC segs=36 rings=24 joint
60ball snout on=head at=(0, -.8, 4.0) r=(4.4, 2.2, 3.4) color=skinC segs=26 rings=16
61ball maw on=head at=(0, -2.7, 4.0) r=(3.5, 1.1, 2.9) color=darkC*.55 segs=18 rings=10
62ball jaw on=head at=(0, -2.2, 1.0) r=.5 color=skinC segs=6 rings=4 joint
63ball jawball on=jaw at=(0, -1.9, 2.6) r=(4.2, 1.7, 4.0) under=bellyC color=skinC segs=26 rings=16
64ball tongue on=jaw at=(0, -.9, 2.8) r=(2.4, .6, 2.4) color=bubblegum segs=14 rings=8
65
66// face features: brow ridges, nostrils, tusks, frill spikes, horns
67ball 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=8
68ball nostril on=snout at=(1.1, 1.25, 2.75) mirror r=(.55, .4, .5) color=darkC segs=10 rings=6
69cone tooth on=jawball at=(1.2, .55, 3.3) mirror h=1.5 r=.55 r2=.12 color=white segs=8
70cone fang on=jawball at=(2.7, .3, 2.6) mirror h=1.2 r=.45 r2=.1 color=white segs=8
71cone cheek x2 on=head surf=(80, -10-i*22) mirror lift=-.4 h=2.3-i*.5 r=.8 r2=.1 color=crys segs=8
72cone horn on=head surf=(40, 56) mirror lift=-.4 h=3.4 r=1.05 r2=.18 color=hornC segs=10 if=hs==0
73cone 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==1
74cone rhino on=snout surf=(0, 62) lift=-.3 h=2.6 r=1.1 r2=.15 color=hornC segs=10 if=hs==2
75cone hornlet on=head surf=(48, 52) mirror lift=-.3 h=1.7 r=.75 r2=.15 color=hornC segs=8 if=hs==2
76
77// chest core: a glowing gem in a dark bezel
78ball 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 joint
79ball spark on=core at=(0, .3, .6) r=(1.1, 1.1, .7) color=gB ink=glow segs=14 rings=8
80torus bezel on=core rot=(90, 0, 0) R=2.1 r=.5 color=darkC segs=32 sides=8
81
82// claws
83cone 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=8
84cone 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
85
86// crystal plates: back row (biggest mid-back), optional flanking rows, neck, crown, tail, tail spike
87cone 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 joint
88cone 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 joint
89cone 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 joint
90cone 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 joint
91cone 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=crys
92cone 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 joint
93cone 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=crys
94cone 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 joint
95cone 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 joint
96cone 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 joint
97cone 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==6
98cone sptip on=tspike at=(0, 2.0, 0) h=2.6 r=.78 r2=0 color=gA bands=[.55:gB] ink=glow segs=8
99
100// the face: big friendly eyes over the snout (the jaw is the mouth)
101face look on=head eyes=round mouth=none size=.24 spacing=30 eyeY=22 iris=irisC
102
103// fx: stomp dust, roar breath and stars, charge glow building at the mouth
104fx 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=cream
105fx 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=gA
106fx roar: sparkle on=head at=(0, 1, 6) n=16 hz=1.2 spread=7 size=.6 color=gA color2=white
107fx 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=concrete
108fx charge: sparkle on=head at=(0, -2.4, 8.5) n=14 hz=1.5 spread=3.5 size=.55 color=gA color2=gB
109
110// always: the core gently pulses
111anim core s sin amp=.06 hz=.7
112
113// idle: breathing, slow tail sway, slow head look
114anim idle: torso breathe amp=.02 hz=.25
115anim idle: tailbase ry sin amp=4 hz=.22
116anim idle: tail wag amp=5 hz=.22 stagger=.1
117anim idle: neck ry sin amp=14 hz=.1
118anim idle: head rx sin amp=4 hz=.25
119anim idle: jaw rx keys=[0:0 .5:5 1:0] hz=.25
120anim idle: arm rx sin amp=4 hz=.25 twin=.5
121anim idle: btip s sin amp=.08 hz=.5 stagger=.1
122
123// walk: heavy stomp, feet stay flat, tail swings, plates ripple
124anim walk: leg gait amp=18 hz=.5
125anim walk: foot rx sin amp=-18 hz=.5 twin=.5
126anim walk: hips py bounce amp=.5 hz=1
127anim walk: hips rz sin amp=3 hz=.5
128anim walk: torso rx sin amp=2 hz=1
129anim walk: arm gait amp=14 hz=.5
130anim walk: neck rx sin amp=3 hz=1 phase=.2
131anim walk: tailbase ry sin amp=8 hz=.5
132anim walk: tail ry sin amp=5 hz=.5 stagger=.1
133anim walk: plate rx sin amp=7 hz=1 stagger=.15
134anim walk: splate rx sin amp=7 hz=1 stagger=.15 phase=.1
135anim walk: tplate rx sin amp=8 hz=1 stagger=.15
136
137// roar: head back, jaw wide, arms up, tail lifts
138anim roar: neck rx keys=[0:0 .2:-30 .8:-30 1:0] hz=.3
139anim roar: head rx keys=[0:0 .2:-10 .8:-10 1:0] hz=.3
140anim roar: jaw rx keys=[0:0 .2:34 .8:34 1:0] hz=.3
141anim roar: arm rz keys=[0:0 .2:50 .8:50 1:0] hz=.3
142anim roar: arm rx keys=[0:0 .2:-60 .8:-60 1:0] hz=.3
143anim roar: torso rx keys=[0:0 .2:-8 .8:-8 1:0] hz=.3
144anim roar: tailbase rx keys=[0:0 .2:10 .8:10 1:0] hz=.3
145anim roar: btip s keys=[0:0 .2:.3 .8:.3 1:0] hz=.3
146
147// charge: crouch forward, jaw parts, core and plate tips pulse hard
148anim charge: torso rx keys=[0:0 1:14] hz=.8 once
149anim charge: neck rx keys=[0:0 1:-8] hz=.8 once
150anim charge: jaw rx keys=[0:0 1:16] hz=.8 once
151anim charge: arm rx keys=[0:0 1:-35] hz=.8 once
152anim charge: tailbase rx keys=[0:0 1:8] hz=.8 once
153anim charge: core s sin amp=.25 hz=2
154anim charge: btip s sin amp=.3 hz=2 stagger=.08
155anim charge: stip s sin amp=.3 hz=2 stagger=.08
156anim charge: ntip s sin amp=.3 hz=2 stagger=.08
157anim charge: htip s sin amp=.3 hz=2 stagger=.08
158anim charge: ttip s sin amp=.3 hz=2 stagger=.08
159