v0.23.0: Routine, first public version
This commit is contained in:
@@ -0,0 +1,663 @@
|
||||
"""Streak level 7: a full year (365 days), and again every 100 days past it (465, 565, ...).
|
||||
|
||||
The summit: the biggest, rarest rewards in the app. Same rules as level0.py: fn(i, t) -> shapes,
|
||||
i = frame 0..23, t = 0..1; NUM(...) is where the number goes. This level is reused for 465, 565,
|
||||
..., so every number has room for 3 digits (num_width(h, 3)) and a 4th only spills a little past
|
||||
its frame instead of into the drawing. Sounds: level7_sounds.py, same names.
|
||||
"""
|
||||
import math
|
||||
|
||||
from anim_kit import NUM, K, C, L, P, ease_out, ring, rotate, star
|
||||
|
||||
|
||||
def rays(cx, cy, r0, r1, n, rot=0.0, w=0.1):
|
||||
"""n short lines radiating from (cx, cy), between radius r0 and r1."""
|
||||
out = []
|
||||
for k in range(n):
|
||||
a = rot + k * 2 * math.pi / n
|
||||
out.append(L([(cx + r0 * math.cos(a), cy + r0 * math.sin(a)), (cx + r1 * math.cos(a), cy + r1 * math.sin(a))], w))
|
||||
return out
|
||||
|
||||
|
||||
def pop_scale(t, t0, dur=0.12, over=1.25):
|
||||
"""0 before t0, then grows to over and settles back to 1 (a springy pop)."""
|
||||
if t < t0:
|
||||
return 0.0
|
||||
u = (t - t0) / dur
|
||||
if u < 1:
|
||||
return over * ease_out(u)
|
||||
return 1 + (over - 1) * math.exp(-(u - 1) * 1.6) * math.cos((u - 1) * 2.2)
|
||||
|
||||
|
||||
def tf(pts, ox, oy, sc=1.0, rot=0.0):
|
||||
"""Local points scaled by sc, turned rot, moved to (ox, oy)."""
|
||||
c, s = math.cos(rot), math.sin(rot)
|
||||
return [(ox + sc * (x * c - y * s), oy + sc * (x * s + y * c)) for x, y in pts]
|
||||
|
||||
|
||||
def tube(spine, w0, w1):
|
||||
"""A tapering band round a polyline: width w0 at its start, w1 at its end."""
|
||||
left, right = [], []
|
||||
n = len(spine)
|
||||
for k, (x, y) in enumerate(spine):
|
||||
px, py = spine[max(0, k - 1)]
|
||||
nx, ny = spine[min(n - 1, k + 1)]
|
||||
dx, dy = nx - px, ny - py
|
||||
d = math.hypot(dx, dy) or 1.0
|
||||
w = (w0 + (w1 - w0) * k / max(1, n - 1)) / 2
|
||||
left.append((x - dy / d * w, y + dx / d * w))
|
||||
right.append((x + dy / d * w, y - dx / d * w))
|
||||
return left + right[::-1]
|
||||
|
||||
|
||||
def lerp(a, b, u):
|
||||
return a + (b - a) * u
|
||||
|
||||
|
||||
# ── 1. phoenix ──
|
||||
|
||||
def flames(cx, base, half, hgt, i, n=7):
|
||||
"""A bed of flame tongues, n across, half wide either side of cx, about hgt tall."""
|
||||
out = []
|
||||
for k in range(n):
|
||||
x = cx - half + (k + 0.5) * 2 * half / n
|
||||
h = hgt * (0.65 + 0.35 * math.sin(k * 2.3 + i * 1.7)) * (1.0 if k in (n // 2 - 1, n // 2, n // 2 + 1) else 0.8)
|
||||
w = half / n * 1.5
|
||||
lean = 0.25 * math.sin(i * 1.1 + k)
|
||||
out.append(P([(x - w, base), (x - w * 0.6, base - h * 0.5), (x + lean, base - h), (x + w * 0.7, base - h * 0.45), (x + w, base)]))
|
||||
return out
|
||||
|
||||
|
||||
def phoenix(i, t):
|
||||
"""Embers in the box catch, flames roar up, and a phoenix bursts out of them, wings blazing open, and soars above the number burning in the fire below."""
|
||||
s = []
|
||||
cx = 1.0
|
||||
hgt = [0.3, 0.5, 0.8, 1.2, 1.7, 2.3][i] if i < 6 else 2.7 + 0.2 * math.sin(i * 1.3)
|
||||
s.append(K("yellow"))
|
||||
s += flames(cx, -0.45, 2.9, hgt, i, 9)
|
||||
s.append(K("red"))
|
||||
s += flames(cx, -0.45, 1.8, hgt * 0.45, i + 3, 5)
|
||||
if i < 6: # embers flying up
|
||||
s.append(K("red"))
|
||||
for k in range(5):
|
||||
s.append(C(cx - 1.2 + k * 0.6 + 0.2 * math.sin(i + k), -0.8 - ((i * 0.5 + k * 0.37) % 1.0) * 2.4, 0.09))
|
||||
return s
|
||||
if i in (6, 7): # the burst
|
||||
s.append(K("yellow"))
|
||||
s.append(P(star(cx, -2.6, 2.6 - (i - 6) * 0.5, 1.0, 12, i * 0.2)))
|
||||
s.append(K("red"))
|
||||
s.append(P(star(cx, -2.6, 1.4, 0.6, 8, i * 0.4)))
|
||||
if i >= 9:
|
||||
s.append(K("blue"))
|
||||
g = pop_scale(t, 9 / 23, 0.12, 1.25)
|
||||
s.append(NUM(cx, -1.75, 2.15 * g, w=0.4, rot=0.04 * math.sin(i * 1.5)))
|
||||
if i < 7:
|
||||
return s
|
||||
by = -2.6 - 3.6 * ease_out(min(1.0, (i - 7) / 6)) + 0.15 * math.sin(i * 1.4)
|
||||
sc = min(1.3, 0.6 + (i - 7) * 0.15)
|
||||
beat = [1.0, 0.2, -0.8, -0.2][i % 4] if i < 20 else 0.55
|
||||
sway = 0.2 * math.sin(i * 1.2)
|
||||
fan = [(-0.3, 0.5), (0.3, 0.5)] # a fanned tail of flame, below
|
||||
for m in range(7):
|
||||
x = 0.9 - m * 0.3 + sway
|
||||
fan.append((x, 1.9 + (0.45 if m % 2 == 0 else 0.0) - 0.1 * abs(m - 3)))
|
||||
s.append(K("yellow"))
|
||||
s.append(P(tf(fan, cx, by, sc)))
|
||||
s.append(K("red"))
|
||||
s.append(P(tf([(-0.2, 0.5), (0.2, 0.5), (0.35 + sway, 1.6), (sway, 1.95), (-0.35 + sway, 1.6)], cx, by, sc)))
|
||||
for side in (-1, 1): # the wings: long fanned feathers
|
||||
for m in range(7):
|
||||
a0 = -math.pi / 2 + side * (0.25 + m * 0.22 + beat * 0.35)
|
||||
ln = 2.1 + m * 0.22 - (m == 6) * 0.6
|
||||
root = (side * 0.3, -0.2)
|
||||
tip = (root[0] + ln * math.cos(a0), root[1] + ln * math.sin(a0))
|
||||
perp = (math.cos(a0 + math.pi / 2) * 0.3, math.sin(a0 + math.pi / 2) * 0.3)
|
||||
mid = (root[0] + 0.55 * (tip[0] - root[0]), root[1] + 0.55 * (tip[1] - root[1]))
|
||||
pts = [root, (mid[0] + perp[0], mid[1] + perp[1]), tip, (mid[0] - perp[0], mid[1] - perp[1])]
|
||||
s.append(K("red" if m % 2 == 0 else "yellow"))
|
||||
s.append(P(tf(pts, cx, by, sc)))
|
||||
s.append(K("red"))
|
||||
s.append(P(tf([(-0.55, -0.45), (0.55, -0.45), (0.4, 0.5), (0, 0.85), (-0.4, 0.5)], cx, by, sc))) # body
|
||||
s.append(P(tf([(-0.2, -0.4), (0.2, -0.4), (0.25, -0.8), (-0.25, -0.8)], cx, by, sc))) # neck
|
||||
s.append(P(tf(ring(0, -1.0, 0.4, 9, 0, 0.02), cx, by, sc))) # head
|
||||
for m in range(3): # its crest
|
||||
s.append(L(tf([(-0.1 + m * 0.1, -1.3), (-0.45 + m * 0.3, -1.95 - 0.15 * (m == 1))], cx, by, sc), 0.1))
|
||||
s.append(K("yellow"))
|
||||
s.append(P(tf([(0.3, -1.1), (0.85, -0.92), (0.3, -0.82)], cx, by, sc))) # beak
|
||||
s.append(C(*tf([(0.1, -1.08)], cx, by, sc)[0], 0.08))
|
||||
s.append(P(tf([(-0.3, -0.2), (0.3, -0.2), (0, 0.45)], cx, by, sc))) # breast flame
|
||||
if i >= 13: # sparks raining off the wings
|
||||
s.append(K("yellow"))
|
||||
for k in range(8):
|
||||
age = (i - 13 + k * 0.6) % 5
|
||||
side = 1 if k % 2 else -1
|
||||
x = cx + side * (1.8 + (k // 2) * 0.7) * sc
|
||||
s.append(P(star(x + 0.15 * math.sin(age * 2), by - 1.0 + age * 0.55, 0.16, 0.06, 4, age)))
|
||||
return s
|
||||
|
||||
|
||||
# ── 2. clocktower ──
|
||||
|
||||
def clocktower(i, t):
|
||||
"""A great clock tower rises over the box; its hands whirl round and round, a whole year spinning by, stop at twelve, and the bell tolls the number onto the clock face as pigeons scatter."""
|
||||
s = []
|
||||
gy = -0.55
|
||||
grow = [0.15, 0.45, 0.8, 1.06, 0.97, 1.0][i] if i < 6 else 1.0
|
||||
|
||||
def at(pts):
|
||||
return [(x, gy + (y - gy) * grow) for x, y in pts]
|
||||
cx, fy, fr = 1.0, -4.4, 1.95
|
||||
shake = 0.06 * math.sin(i * 3.0) if i in (14, 15, 19, 20) else 0.0
|
||||
s.append(P(at([(-1.25 + shake, gy), (3.25 + shake, gy), (3.25 + shake, -6.6), (-1.25 + shake, -6.6)]))) # the shaft
|
||||
s.append(P(at([(-1.55, -6.6), (3.55, -6.6), (3.55, -6.95), (-1.55, -6.95)]))) # the cornice
|
||||
s.append(P(at([(-0.95, -6.95), (2.95, -6.95), (2.95, -7.9), (-0.95, -7.9)]))) # the belfry
|
||||
s.append(P(at([(-1.25, -7.9), (3.25, -7.9), (cx, -9.6)]))) # the roof
|
||||
s.append(L(at([(cx, -9.6), (cx, -10.1)]), 0.1))
|
||||
s.append(K("yellow"))
|
||||
s.append(C(*at([(cx, -10.15)])[0], 0.15))
|
||||
for bx in (-0.35, 1.0, 2.35): # the belfry's openings
|
||||
s.append(P(at([(bx - 0.3, -7.05), (bx + 0.3, -7.05), (bx + 0.3, -7.5), (bx, -7.75), (bx - 0.3, -7.5)])))
|
||||
s.append(P(at([(cx - 0.55, gy), (cx + 0.55, gy), (cx + 0.55, -1.5), (cx, -1.9), (cx - 0.55, -1.5)]))) # the door
|
||||
for wx in (-0.6, 2.6):
|
||||
s.append(P(at([(wx - 0.12, -1.3), (wx + 0.12, -1.3), (wx + 0.12, -2.0), (wx - 0.12, -2.0)])))
|
||||
fcy = gy + (fy - gy) * grow
|
||||
s.append(P(ring(cx + shake, fcy, fr * min(1.0, grow), 20, 0, 0.03))) # the face
|
||||
s.append(K("blue"))
|
||||
s.append(P(ring(cx + shake, fcy, fr * min(1.0, grow), 20, 0, 0.03), 0.12))
|
||||
showing = i >= 14
|
||||
s.append(K("red"))
|
||||
for k in range(12): # the hour marks
|
||||
if showing and k not in (0, 6):
|
||||
continue
|
||||
a = -math.pi / 2 + k * math.pi / 6
|
||||
s.append(L([(cx + 1.55 * math.cos(a), fcy + 1.55 * math.sin(a)), (cx + 1.8 * math.cos(a), fcy + 1.8 * math.sin(a))], 0.1))
|
||||
if not showing and i >= 2: # the hands whirl, a year flying by
|
||||
if i < 13:
|
||||
u = (i - 2) / 11
|
||||
spin = (1 - (1 - u) ** 2) * 11
|
||||
am, ah = -math.pi / 2 + spin * 2 * math.pi, -math.pi / 2 + spin * 2 * math.pi / 12 + (1 - u) * 1.3
|
||||
else:
|
||||
am = ah = -math.pi / 2
|
||||
s.append(L([(cx, fcy), (cx + 1.0 * math.cos(ah), fcy + 1.0 * math.sin(ah))], 0.2))
|
||||
s.append(L([(cx, fcy), (cx + 1.55 * math.cos(am), fcy + 1.55 * math.sin(am))], 0.12))
|
||||
if i < 13 and i % 2: # motion arcs
|
||||
s.append(L([(cx + 1.3 * math.cos(am - d), fcy + 1.3 * math.sin(am - d)) for d in (0.0, 0.3, 0.6, 0.9)], 0.06))
|
||||
s.append(C(cx, fcy, 0.18))
|
||||
if showing:
|
||||
g = pop_scale(t, 14 / 23, 0.1, 1.2)
|
||||
s.append(NUM(cx + shake, fcy + 0.05, 1.42 * g, w=0.28, rot=0.0))
|
||||
for tb in (14, 19): # each toll rings out
|
||||
age = i - tb
|
||||
if 0 <= age < 5:
|
||||
s.append(K("yellow"))
|
||||
s += rays(cx, fcy, fr + 0.3 + age * 0.15, fr + 0.75 + age * 0.25, 12, 0.13, 0.1 - age * 0.012)
|
||||
s.append(K("blue"))
|
||||
for side in (-1, 1):
|
||||
for m in range(2):
|
||||
r = 2.3 + age * 0.3 + m * 0.4
|
||||
base = 0.0 if side > 0 else math.pi
|
||||
arc = [(cx + r * math.cos(base + a), -7.4 + r * math.sin(base + a)) for a in (-0.6, -0.3, 0, 0.3, 0.6)]
|
||||
s.append(L(arc, max(0.04, 0.12 - age * 0.02)))
|
||||
s.append(K("red"))
|
||||
for k in range(3): # pigeons scatter off the roof
|
||||
age = i - 14
|
||||
px, py = cx + (k - 1) * 0.8 + age * (0.3 + 0.1 * k) * (1 if k else -1), -9.0 - age * (0.18 + 0.04 * k)
|
||||
fl = 0.25 if (i + k) % 2 else -0.1
|
||||
s.append(L([(px - 0.35, py - fl), (px, py), (px + 0.35, py - fl)], 0.09))
|
||||
return s
|
||||
|
||||
|
||||
# ── 3. archway ──
|
||||
|
||||
def archway(i, t):
|
||||
"""A triumphal arch builds itself over the box: stones fly in from both sides one pair at a time, the keystone drops in with a thunderous clunk, and the number stands beneath it in glory."""
|
||||
s = []
|
||||
gy = -0.55
|
||||
cx, cy, r0, r1 = 1.0, -2.7, 2.65, 3.8
|
||||
pg = min(1.0, (i + 1) / 3) # the piers rise
|
||||
jolt = 0.12 if i == 12 else 0.0
|
||||
s.append(K("red"))
|
||||
for x0, x1 in ((cx - r1, cx - r0), (cx + r0, cx + r1)):
|
||||
top = gy + (cy - gy) * pg
|
||||
s.append(P([(x0, gy), (x1, gy), (x1, top + jolt), (x0, top + jolt)]))
|
||||
s.append(P([(x0 - 0.25, gy), (x1 + 0.25, gy), (x1 + 0.25, gy - 0.3), (x0 - 0.25, gy - 0.3)])) # plinths
|
||||
lands = {0: 3, 8: 3, 1: 5, 7: 5, 2: 7, 6: 7, 3: 9, 5: 9, 4: 12}
|
||||
for k in range(9):
|
||||
f = lands[k]
|
||||
if i < f - 1:
|
||||
continue
|
||||
a0, a1 = math.pi + k * math.pi / 9 + 0.02, math.pi + (k + 1) * math.pi / 9 - 0.02
|
||||
am = (a0 + a1) / 2
|
||||
ri, ro = r0 + 0.04, r1 - 0.04
|
||||
if k == 4:
|
||||
ro += 0.35
|
||||
pts = [(cx + ri * math.cos(a), cy + jolt + ri * math.sin(a)) for a in (a0, am, a1)] + \
|
||||
[(cx + ro * math.cos(a), cy + jolt + ro * math.sin(a)) for a in (a1, am, a0)]
|
||||
if i == f - 1: # still flying in
|
||||
if k == 4:
|
||||
pts = [(x, y - 2.2) for x, y in pts]
|
||||
else:
|
||||
side = -1 if k < 4 else 1
|
||||
pts = rotate([(x + side * 2.2, y - 1.0) for x, y in pts], side * 0.5, cx + side * 3.0, cy)
|
||||
s.append(K("yellow" if k == 4 else "red"))
|
||||
s.append(P(pts, 0, 0.03))
|
||||
if k == 4 and i >= f:
|
||||
s.append(K("red"))
|
||||
s.append(P(star(cx, cy + jolt - (r0 + ro) / 2, 0.4, 0.17, 5)))
|
||||
if i == 10: # the keystone waits high above
|
||||
s.append(K("yellow"))
|
||||
ri, ro = r0 + 0.04, r1 + 0.31
|
||||
a0, a1 = math.pi + 4 * math.pi / 9 + 0.02, math.pi + 5 * math.pi / 9 - 0.02
|
||||
pts = [(cx + ri * math.cos(a), cy - 4.0 + ri * math.sin(a)) for a in (a0, a1)] + [(cx + ro * math.cos(a), cy - 4.0 + ro * math.sin(a)) for a in (a1, a0)]
|
||||
s.append(P(pts))
|
||||
for k in range(9): # dust as each stone lands
|
||||
f = lands[k]
|
||||
if i == f:
|
||||
am = math.pi + (k + 0.5) * math.pi / 9
|
||||
x, y = cx + (r1 + 0.2) * math.cos(am), cy + (r1 + 0.2) * math.sin(am)
|
||||
s.append(K("red"))
|
||||
s.append(C(x, y, 0.22, 0.06))
|
||||
s.append(C(x + 0.35 * math.cos(am + 0.5), y + 0.35 * math.sin(am + 0.5), 0.15, 0.06))
|
||||
if i >= 12:
|
||||
s.append(K("yellow"))
|
||||
s += rays(cx, cy - r1 - 0.3, 0.9, 1.6 + 0.3 * (i % 2), 9, math.pi + 0.15, 0.1)
|
||||
g = pop_scale(t, 12 / 23, 0.1, 1.2)
|
||||
s.append(K("blue"))
|
||||
s.append(NUM(cx, -2.15, 2.1 * g, w=0.38, rot=0.0))
|
||||
if i in (12, 13):
|
||||
s.append(K("red"))
|
||||
for side in (-1, 1):
|
||||
for m in range(3):
|
||||
s.append(C(cx + side * (r1 + 0.5 + m * 0.45), gy - 0.3 - m * 0.3, 0.25 + m * 0.06, 0.06))
|
||||
if i >= 14: # glints running round the arch
|
||||
s.append(K("yellow"))
|
||||
for k in range(2):
|
||||
a = math.pi + ((i - 14) * 0.45 + k * math.pi / 2) % math.pi
|
||||
rr = (r0 + r1) / 2
|
||||
s.append(P(star(cx + rr * math.cos(a), cy + rr * math.sin(a), 0.35, 0.1, 4, 0.0)))
|
||||
return s
|
||||
|
||||
|
||||
# ── 4. glacier ──
|
||||
|
||||
def glacier(i, t):
|
||||
"""A towering ice cliff stands over the sea by the box; cracks race down its face, a huge slab breaks off and crashes into the water, and the number bobs up on a gleaming iceberg."""
|
||||
s = []
|
||||
sea = -0.5
|
||||
s.append(K("blue"))
|
||||
cliff = [(-4.6, sea), (-4.6, -6.3), (-3.9, -7.0), (-3.1, -6.6), (-2.3, -7.3), (-1.4, -6.8), (-1.4, sea)]
|
||||
s.append(P(cliff, 0, 0.03))
|
||||
s.append(K("yellow"))
|
||||
for x, y0, y1 in ((-3.6, -6.2, -4.4), (-2.4, -6.4, -3.6)): # its old seams
|
||||
s.append(L([(x, y0), (x + 0.2, (y0 + y1) / 2), (x - 0.1, y1)], 0.06))
|
||||
slab = [(-1.4, sea), (-1.4, -6.8), (-0.6, -7.5), (0.4, -6.9), (0.65, -4.2), (0.25, -2.6), (0.55, sea)]
|
||||
if i < 8:
|
||||
sh = 0.07 * math.sin(i * 3.3) if i >= 4 else 0.0
|
||||
s.append(K("blue"))
|
||||
s.append(P([(x + sh, y) for x, y in slab], 0, 0.03))
|
||||
if i >= 1: # the crack racing down
|
||||
n = min(7, i + 1)
|
||||
pts = [(-1.4 + 0.18 * (m % 2) - 0.09, -7.0 + m * 0.95) for m in range(n)]
|
||||
s.append(K("yellow"))
|
||||
s.append(L(pts, 0.1))
|
||||
if i >= 3: # chips falling
|
||||
for k in range(2):
|
||||
s.append(C(-0.9 + k * 0.6, -6.5 + ((i - 3) * 1.2 + k * 2) % 6, 0.1))
|
||||
elif i < 12:
|
||||
a = [0.12, 0.42, 0.85, 1.2][i - 8]
|
||||
dn = [0.0, 0.3, 1.4, 3.2][i - 8]
|
||||
s.append(K("blue"))
|
||||
s.append(P(rotate([(x, y + dn) for x, y in slab], a, 0.55, sea + dn), 0, 0.03))
|
||||
if 10 <= i <= 18: # the splash
|
||||
k = i - 10
|
||||
s.append(K("blue"))
|
||||
sx = 3.0
|
||||
if k < 4:
|
||||
s.append(P([(sx - 1.6, sea), (sx - 0.9, sea - 2.0 - k), (sx - 0.3, sea - 1.2 - k * 0.8), (sx, sea - 3.2 - k * 1.1),
|
||||
(sx + 0.4, sea - 1.4 - k * 0.8), (sx + 1.0, sea - 2.4 - k), (sx + 1.8, sea)]))
|
||||
for m in range(11):
|
||||
ang = -math.pi / 2 + (m - 5) * 0.27
|
||||
r = 1.2 + k * 0.75
|
||||
x = sx + r * math.cos(ang) * 0.9
|
||||
y = sea - 0.4 + r * math.sin(ang) * 1.4 + k * k * 0.12
|
||||
if y < sea:
|
||||
s.append(C(x, y, max(0.07, 0.24 - k * 0.02)))
|
||||
s.append(K("blue"))
|
||||
for row in range(2): # the sea
|
||||
y = sea + 0.15 + row * 0.45
|
||||
amp = 0.18 + (0.35 if 11 <= i <= 16 and row == 0 else 0.0)
|
||||
s.append(L([(-5.0 + m * 0.6, y + amp * math.sin(i * 0.9 + row * 1.4 + m * 0.9)) for m in range(19)], 0.12))
|
||||
if i >= 13: # the iceberg bobs up
|
||||
up = [0.4, 0.85, 1.12, 0.95, 1.03][i - 13] if i < 18 else 1.0 + 0.03 * math.sin((i - 18) * 1.3)
|
||||
bx, base = 3.0, sea + 0.1
|
||||
berg = [(0.3 - bx, 0), (0.75 - bx, -2.0), (1.6 - bx, -3.25), (2.7 - bx, -3.6), (4.0 - bx, -3.15), (5.0 - bx, -2.1), (5.7 - bx, 0)]
|
||||
tilt = 0.04 * math.sin(i * 1.1)
|
||||
pts = rotate([(bx + x, base + y * up) for x, y in berg], tilt, bx, base)
|
||||
s.append(K("blue"))
|
||||
s.append(P(pts, 0, 0.03))
|
||||
s.append(K("yellow"))
|
||||
s.append(L(rotate([(bx - 1.0, base - 3.3 * up), (bx - 0.3, base - 3.55 * up)], tilt, bx, base), 0.1)) # its gleam
|
||||
if i >= 14:
|
||||
g = pop_scale(t, 14 / 23, 0.1, 1.2)
|
||||
s.append(K("red"))
|
||||
s.append(NUM(bx, base - 1.55 * up, 1.75 * g, w=0.34, rot=tilt))
|
||||
if i >= 17: # it sparkles
|
||||
s.append(K("yellow"))
|
||||
for k in range(3):
|
||||
if (i + k) % 3:
|
||||
ang = k * 2.1 + 0.5
|
||||
s.append(P(star(bx + 3.0 * math.cos(ang), base - 2.0 + 1.8 * math.sin(ang), 0.4, 0.1, 4, 0.0)))
|
||||
return s
|
||||
|
||||
|
||||
# ── 5. pegasus ──
|
||||
|
||||
def horse(x, y, sc, rot, legs, wing):
|
||||
"""A winged horse, side on, facing right. legs: 0..1 through a gallop (or None: tucked in flight);
|
||||
wing: -1 = raised high, 1 = swept down."""
|
||||
s = []
|
||||
|
||||
def at(pts):
|
||||
return tf(pts, x, y, sc, rot)
|
||||
s.append(K("blue")) # the far wing, behind
|
||||
wa = -1.9 + wing * 0.9
|
||||
s.append(P(at([(0.1, -0.4), (-0.3, -0.5), (-0.3 + 2.6 * math.cos(wa - 0.4), -0.5 + 2.6 * math.sin(wa - 0.4)), (0.4 + 1.9 * math.cos(wa - 0.2), -0.4 + 1.9 * math.sin(wa - 0.2))])))
|
||||
s.append(K("yellow"))
|
||||
if legs is None:
|
||||
poses = [((0.85, 0.35), (1.5, 0.6), (1.7, 1.0)), ((0.6, 0.35), (1.1, 0.75), (1.5, 0.9)),
|
||||
((-0.85, 0.35), (-1.6, 0.6), (-2.1, 0.8)), ((-0.6, 0.35), (-1.3, 0.8), (-1.8, 1.1))]
|
||||
else:
|
||||
ph = legs * 2 * math.pi
|
||||
poses = []
|
||||
for k, (hx, off) in enumerate(((0.85, 0.0), (0.6, 0.5), (-0.85, 2.0), (-0.6, 2.5))):
|
||||
a = 0.6 * math.sin(ph + off)
|
||||
kx, ky = hx + 0.75 * math.sin(a), 0.35 + 0.75 * math.cos(a)
|
||||
b = a + (0.7 if hx > 0 else -0.5) * max(0.0, math.sin(ph + off + 1.0))
|
||||
poses.append(((hx, 0.35), (kx, ky), (kx + 0.75 * math.sin(b) * (1 if hx > 0 else 1), ky + 0.75 * math.cos(b))))
|
||||
for p0, p1, p2 in poses:
|
||||
s.append(L(at([p0, p1, p2]), 0.2))
|
||||
s.append(P(at(ring(0, 0, 1.0, 14, 0, 0.03)))) # body (squashed below)
|
||||
s.append(P(at([(-1.15, -0.25), (1.15, -0.35), (1.25, 0.15), (0.6, 0.55), (-0.7, 0.55), (-1.25, 0.15)])))
|
||||
s.append(P(at([(0.65, -0.45), (1.25, -0.15), (1.95, -1.25), (1.45, -1.55)]))) # neck
|
||||
s.append(P(at([(1.4, -1.55), (1.8, -1.75), (2.65, -1.15), (2.55, -0.9), (2.0, -0.95), (1.6, -1.0)]))) # head
|
||||
s.append(P(at([(1.55, -1.6), (1.6, -2.0), (1.8, -1.68)]))) # ear
|
||||
s.append(K("red"))
|
||||
s.append(L(at([(1.5, -1.65), (1.2, -1.3), (1.15, -0.9), (0.85, -0.6), (0.7, -0.35)]), 0.16)) # mane
|
||||
s.append(L(at([(-1.15, -0.15), (-1.7, -0.25), (-2.1, 0.15), (-2.3, 0.65)]), 0.2)) # tail
|
||||
s.append(C(*at([(2.05, -1.35)])[0], 0.07 * sc))
|
||||
s.append(K("blue")) # the near wing, in front
|
||||
s.append(P(at([(0.3, -0.35), (-0.4, -0.35), (-0.5 + 2.9 * math.cos(wa), -0.4 + 2.9 * math.sin(wa)),
|
||||
(-0.1 + 2.5 * math.cos(wa + 0.15), -0.4 + 2.5 * math.sin(wa + 0.15)),
|
||||
(0.2 + 2.0 * math.cos(wa + 0.3), -0.35 + 2.0 * math.sin(wa + 0.3))])))
|
||||
return s
|
||||
|
||||
|
||||
def pegasus(i, t):
|
||||
"""A winged horse gallops up to the box, leaps, and soars in a great arc over it, leaving a trail of stars around the number that blazes up inside the arc."""
|
||||
s = []
|
||||
ncx, ncy, rr = 1.0, -3.6, 4.1 # the number, and the arc round it
|
||||
if i < 7:
|
||||
x, y = -4.6 + i * 0.45, -2.0 + (0.25 if i == 6 else 0.0)
|
||||
rot, legs, wing = 0.0, (i % 4) / 4, 0.6 if i % 2 else 0.2
|
||||
if i == 6:
|
||||
rot = -0.2
|
||||
else:
|
||||
u = min(1.0, (i - 7) / 10)
|
||||
a = math.pi - 0.08 + u * (math.pi - 0.38)
|
||||
x, y = ncx + rr * math.cos(a), ncy + rr * math.sin(a)
|
||||
rot = max(-0.95, min(0.55, a + math.pi / 2 - 2 * math.pi))
|
||||
legs, wing = None, [-1.0, 0.0, 1.0][i % 3]
|
||||
if i >= 18:
|
||||
rot, wing = -0.45 + 0.05 * math.sin(i), [-1.0, -0.2, 0.8, -0.2][i % 4]
|
||||
legs = None
|
||||
trail = []
|
||||
for k in range(1, 12): # the trail of stars behind it
|
||||
uu = u - k * 0.08
|
||||
if uu < 0:
|
||||
break
|
||||
aa = math.pi - 0.08 + uu * (math.pi - 0.38)
|
||||
trail.append((ncx + (rr - 0.3) * math.cos(aa), ncy + (rr - 0.3) * math.sin(aa) + 0.3, k))
|
||||
for tx, ty, k in trail:
|
||||
s.append(K("red" if k % 2 else "blue"))
|
||||
r = 0.3 if (k + i) % 3 else 0.42
|
||||
s.append(P(star(tx, ty, r, r * 0.4, 5, i * 0.3 + k)))
|
||||
if i >= 12:
|
||||
g = pop_scale(t, 12 / 23, 0.12, 1.3)
|
||||
s.append(K("red"))
|
||||
s.append(NUM(ncx, ncy, 2.15 * g, w=0.4, rot=0.05 * math.sin(i * 0.8)))
|
||||
if i in (12, 13, 14):
|
||||
s.append(K("yellow"))
|
||||
s += rays(ncx, ncy, 2.7, 3.2, 12, i * 0.2, 0.09)
|
||||
if i < 7 and i >= 1: # hoof dust
|
||||
s.append(K("red"))
|
||||
s.append(C(x - 1.8, -0.7 - 0.1 * (i % 2), 0.2 + 0.05 * (i % 3), 0.06))
|
||||
s += horse(x, y, 0.95, rot, legs, wing)
|
||||
return s
|
||||
|
||||
|
||||
# ── 6. waterfall ──
|
||||
|
||||
def waterfall(i, t):
|
||||
"""A mighty waterfall thunders down a gorge over the box; the falling water splits apart at the lip and the number shines out of the glowing cave behind it."""
|
||||
s = []
|
||||
top, gy = -7.4, -0.55
|
||||
x0, x1 = -2.6, 4.6
|
||||
cx = (x0 + x1) / 2
|
||||
fall = min(1.0, (i + 1) / 5)
|
||||
yb = top + (gy - top) * fall
|
||||
part = 0.0 if i < 10 else ease_out(min(1.0, (i - 9) / 4))
|
||||
if i >= 4:
|
||||
s.append(K("yellow")) # the cave behind the water
|
||||
s.append(P([(x0 + 0.5, gy), (x1 - 0.5, gy), (x1 - 0.4, -4.4), (cx + 2.0, -6.2), (cx, -6.7), (cx - 2.0, -6.2),
|
||||
(x0 + 0.4, -4.4)], 0, 0.03))
|
||||
s.append(K("red")) # the gorge's rocky sides
|
||||
s.append(P([(x0 - 2.0, gy), (x0 + 0.15, gy), (x0 + 0.35, -1.6), (x0 - 0.05, -2.9), (x0 + 0.3, -4.3), (x0 - 0.1, -5.6),
|
||||
(x0 + 0.2, top), (x0 - 0.7, top - 0.6), (x0 - 1.5, top - 0.2), (x0 - 1.6, -5.3), (x0 - 2.3, -4.6), (x0 - 2.1, -2.2)]))
|
||||
s.append(P([(x1 - 0.15, gy), (x1 + 2.0, gy), (x1 + 2.2, -2.6), (x1 + 1.7, -3.4), (x1 + 2.0, -5.5), (x1 + 1.2, top - 0.5),
|
||||
(x1 + 0.5, top - 0.1), (x1 - 0.2, top), (x1 + 0.1, -5.0), (x1 - 0.25, -3.5), (x1 + 0.05, -2.1)]))
|
||||
s.append(K("yellow"))
|
||||
for x, y in ((x0 - 1.0, -3.5), (x1 + 1.0, -4.3), (x1 + 0.9, -1.6)): # ledges
|
||||
s.append(L([(x - 0.4, y), (x + 0.3, y + 0.1)], 0.07))
|
||||
s.append(K("blue"))
|
||||
s.append(L([(x0 - 0.4, top - 0.05), (x1 + 0.4, top - 0.05)], 0.32)) # the river's lip
|
||||
n = 10
|
||||
for k in range(n):
|
||||
f = (k + 0.5) / n
|
||||
bx = x0 + (x1 - x0) * f
|
||||
side = -1 if bx < cx else 1
|
||||
edge = x0 + 0.5 if side < 0 else x1 - 0.5 # parted, the water hugs the cliffs
|
||||
dest = edge + (bx - (x0 if side < 0 else x1)) * 0.18 - side * 0.0
|
||||
bx2 = bx + (dest - bx) * part
|
||||
w = (x1 - x0) / n * 0.62 * (1 - 0.55 * part)
|
||||
pts = []
|
||||
for m in range(7):
|
||||
y = top + (yb - top) * m / 6
|
||||
sway = 0.08 * math.sin(i * 2.1 + k * 1.3 + m)
|
||||
pts.append((bx2 + sway, y))
|
||||
poly = [(x - w / 2, y) for x, y in pts] + [(x + w / 2, y) for x, y in pts[::-1]]
|
||||
s.append(P(poly, 0, 0.03))
|
||||
if i >= 3: # the plunge pool, its mist and spray
|
||||
for k in range(7):
|
||||
mx = x0 - 0.2 + k * 1.25
|
||||
r = 0.35 + 0.12 * ((i + k) % 3)
|
||||
s.append(C(mx, gy - 0.2 - 0.1 * ((i + k) % 2), r, 0.08))
|
||||
s.append(L([(x0 - 2.0 + m * 0.55, gy + 0.2 + 0.12 * math.sin(i * 1.4 + m)) for m in range(21)], 0.12))
|
||||
for k in range(6):
|
||||
age = (i * 0.4 + k * 0.35) % 1.4
|
||||
sx = cx + (k - 2.5) * 1.4 + (k - 2.5) * age * 0.5
|
||||
s.append(C(sx, gy - 0.5 - age * 1.3 + age * age * 0.6, 0.1))
|
||||
if i >= 12:
|
||||
g = pop_scale(t, 12 / 23, 0.12, 1.25)
|
||||
s.append(K("red"))
|
||||
s.append(NUM(cx, -3.5, 2.15 * g, w=0.4, rot=0.0))
|
||||
s.append(K("blue"))
|
||||
if i in (12, 13, 14):
|
||||
s += rays(cx, -3.5, 2.7, 3.1, 10, 0.1, 0.08)
|
||||
if i >= 16: # glints in the cave
|
||||
for k in range(2):
|
||||
if (i + k) % 2:
|
||||
s.append(P(star(cx - 1.9 + k * 3.8, -5.4 + k * 0.3, 0.35, 0.1, 4, 0.0)))
|
||||
return s
|
||||
|
||||
|
||||
# ── 7. titan ──
|
||||
|
||||
def titan(i, t):
|
||||
"""The ground splits by the box and boulders fly up out of it, stacking themselves into a stone giant; its eyes kindle, and it heaves the number high over its head in both hands."""
|
||||
s = []
|
||||
gy, cx = -0.55, 1.0
|
||||
crack = min(1.0, (i + 1) / 3)
|
||||
s.append(K("yellow")) # the crack in the ground
|
||||
s.append(L([(cx - 3.0 * crack, gy), (cx - 2.0 * crack, gy - 0.15), (cx - 1.0 * crack, gy + 0.1), (cx, gy - 0.12),
|
||||
(cx + 1.0 * crack, gy + 0.1), (cx + 2.0 * crack, gy - 0.15), (cx + 3.0 * crack, gy)], 0.12))
|
||||
if i < 3:
|
||||
s.append(K("red"))
|
||||
for k in range(4):
|
||||
s.append(C(cx - 1.5 + k, gy - 0.3 - 0.4 * ((i + k) % 2), 0.13))
|
||||
# the giant's blocks: (land frame, polygon)
|
||||
blocks = [
|
||||
(3, [(cx - 1.25, gy), (cx - 0.25, gy), (cx - 0.3, -2.4), (cx - 1.15, -2.4)]), # legs
|
||||
(3, [(cx + 0.25, gy), (cx + 1.25, gy), (cx + 1.15, -2.4), (cx + 0.3, -2.4)]),
|
||||
(4, [(cx - 1.45, -2.3), (cx + 1.45, -2.3), (cx + 1.35, -3.2), (cx - 1.35, -3.2)]), # hips
|
||||
(5, [(cx - 1.4, -3.1), (cx + 1.4, -3.1), (cx + 2.1, -5.5), (cx - 2.1, -5.5)]), # chest
|
||||
(7, [(cx - 0.65, -5.6), (cx + 0.65, -5.6), (cx + 0.75, -6.8), (cx + 0.2, -7.05), (cx - 0.75, -6.8)]), # head
|
||||
]
|
||||
for f, poly in blocks:
|
||||
if i < f - 2:
|
||||
continue
|
||||
if i < f: # flying up out of the crack
|
||||
u = (i - (f - 2) + 1) / 3
|
||||
mx = sum(p[0] for p in poly) / len(poly)
|
||||
my = sum(p[1] for p in poly) / len(poly)
|
||||
sx, sy = cx + (mx - cx) * u, gy + (my - gy) * u + 1.2 * (1 - u)
|
||||
poly = rotate([(sx + (x - mx) * (0.5 + 0.5 * u), sy + (y - my) * (0.5 + 0.5 * u)) for x, y in poly], (1 - u) * 1.5, sx, sy)
|
||||
s.append(K("red"))
|
||||
s.append(P(poly, 0, 0.04))
|
||||
if i == f: # a thud of dust
|
||||
s.append(K("yellow"))
|
||||
mx = sum(p[0] for p in poly) / len(poly)
|
||||
s += rays(mx, max(p[1] for p in poly), 0.3, 0.8, 5, math.pi * 0.1, 0.07)
|
||||
if i >= 5: # glowing seams in its chest
|
||||
s.append(K("yellow"))
|
||||
s.append(L([(cx - 0.9, -4.9), (cx - 0.3, -4.4), (cx + 0.2, -4.7), (cx + 0.9, -4.1)], 0.08))
|
||||
s.append(L([(cx - 0.5, -3.5), (cx, -3.9), (cx + 0.6, -3.6)], 0.07))
|
||||
if i >= 8:
|
||||
# the arms: down at its sides, then heaved up overhead
|
||||
up = 0.0 if i < 10 else min(1.0, (i - 9) / 4)
|
||||
up = ease_out(up)
|
||||
for side in (-1, 1):
|
||||
sx, sy = cx + side * 2.0, -5.3
|
||||
hx = lerp(cx + side * 2.6, cx + side * 2.85, up)
|
||||
hy = lerp(-2.6, -8.6, up)
|
||||
ex, ey = lerp(cx + side * 2.9, cx + side * 3.5, up), lerp(-3.9, -6.6, up)
|
||||
s.append(K("red"))
|
||||
s.append(P(tube([(sx, sy), (ex, ey)], 1.0, 0.85)))
|
||||
s.append(P(tube([(ex, ey), (hx, hy)], 0.85, 0.75)))
|
||||
s.append(P(ring(hx, hy, 0.55, 8, side, 0.05)))
|
||||
s.append(C(ex, ey, 0.5))
|
||||
if 8 <= i:
|
||||
s.append(K("yellow")) # its eyes kindle
|
||||
r = 0.17 if (i in (8, 9) or i % 7) else 0.06
|
||||
s.append(C(cx - 0.3, -6.3, r))
|
||||
s.append(C(cx + 0.3, -6.3, r))
|
||||
s.append(L([(cx - 0.35, -5.85), (cx + 0.35, -5.85)], 0.07))
|
||||
if i >= 13:
|
||||
g = pop_scale(t, 13 / 23, 0.1, 1.25)
|
||||
s.append(K("blue"))
|
||||
s.append(NUM(cx, -8.6, 1.95 * g, w=0.38, rot=0.04 * math.sin(i * 0.9)))
|
||||
s.append(K("yellow"))
|
||||
if i in (13, 14, 15):
|
||||
s += rays(cx, -8.6, 2.7, 3.3, 12, 0.1, 0.09)
|
||||
for k in range(4): # grit shaken loose
|
||||
age = i - 13 - k
|
||||
if 0 <= age < 7:
|
||||
side = 1 if k % 2 else -1
|
||||
s.append(C(cx + side * (2.4 + 0.15 * age), -7.6 + age * 0.9 + age * age * 0.08, 0.12))
|
||||
if i in (13, 14): # the ground jolts
|
||||
s.append(K("red"))
|
||||
for side in (-1, 1):
|
||||
s.append(C(cx + side * 2.3, gy - 0.35, 0.3, 0.07))
|
||||
s.append(C(cx + side * 2.9, gy - 0.65, 0.22, 0.07))
|
||||
return s
|
||||
|
||||
|
||||
# ── 8. genie ──
|
||||
|
||||
def genie(i, t):
|
||||
"""A brass lamp by the box jiggles, smoke curls out of its spout and swirls up into a genie, who flings out his arms: in a whirl of sparkles, the number appears, granted."""
|
||||
s = []
|
||||
lx, ly = -2.6, -0.95 # the lamp
|
||||
jig = 0.15 * math.sin(i * 2.4) if i < 4 else 0.0
|
||||
s.append(K("yellow"))
|
||||
lamp = [(-1.0, 0.4), (1.0, 0.4), (1.3, 0.0), (1.9, -0.3), (2.3, -0.35), (2.0, -0.15), (1.1, 0.25 - 0.3), (0.7, -0.3),
|
||||
(-0.7, -0.3), (-1.2, 0.0)]
|
||||
s.append(P(rotate([(lx + x, ly + y) for x, y in lamp], jig, lx, ly + 0.4)))
|
||||
s.append(P(rotate([(lx - 0.35, ly - 0.3), (lx + 0.35, ly - 0.3), (lx + 0.15, ly - 0.6), (lx - 0.15, ly - 0.6)], jig, lx, ly + 0.4)))
|
||||
s.append(L(rotate([(lx - 1.1, ly - 0.05), (lx - 1.6, ly - 0.15), (lx - 1.55, ly + 0.3), (lx - 1.0, ly + 0.25)], jig, lx, ly + 0.4), 0.1))
|
||||
s.append(K("red"))
|
||||
s.append(C(*rotate([(lx, ly - 0.7)], jig, lx, ly + 0.4)[0], 0.13))
|
||||
sx, sy = rotate([(lx + 2.3, ly - 0.4)], jig, lx, ly + 0.4)[0] # the spout's tip
|
||||
if i < 4: # rubbed: glints
|
||||
s.append(K("red"))
|
||||
s.append(P(star(lx - 0.5 + i * 0.4, ly - 0.9 - (i % 2) * 0.3, 0.35, 0.1, 4, 0.0)))
|
||||
gx, gw = -0.4, -3.9 # the genie's waist
|
||||
path = [(sx, sy), (sx + 0.6, sy - 0.5), (sx + 0.7, sy - 1.2), (sx + 0.1, sy - 1.6), (gx - 0.3, gw + 0.9), (gx, gw + 0.3), (gx, gw)]
|
||||
if i >= 3:
|
||||
nshow = min(len(path), 2 + (i - 3))
|
||||
s.append(K("blue"))
|
||||
s.append(P(tube(path[:nshow], 0.25, 0.25 + 0.15 * nshow)))
|
||||
for k in range(min(4, i - 3)): # curls of smoke round the stream
|
||||
px, py = path[min(nshow - 1, k + 1)]
|
||||
s.append(C(px + 0.45 * math.cos(i * 0.9 + k * 2), py + 0.3 * math.sin(i * 0.9 + k * 2), 0.18, 0.06))
|
||||
if i < 8:
|
||||
return s
|
||||
g = min(1.0, 0.35 + (i - 8) * 0.22)
|
||||
if g > 1.0:
|
||||
g = 1.0
|
||||
|
||||
def at(pts):
|
||||
return [(gx + x * g, gw + y * g) for x, y in pts]
|
||||
s.append(K("blue"))
|
||||
s.append(P(at([(-0.6, 0.2), (0.6, 0.2), (1.3, -1.9), (0.7, -2.2), (-0.7, -2.2), (-1.3, -1.9)]))) # torso
|
||||
s.append(P(at(ring(0, -2.85, 0.6, 12, 0, 0.03)))) # head
|
||||
s.append(K("red"))
|
||||
s.append(P(at([(-0.65, -3.0), (0.65, -3.0), (0.55, -3.55), (0.0, -3.75), (-0.55, -3.55)]))) # turban
|
||||
s.append(P(at(star(0, -3.75, 0.25, 0.1, 5))))
|
||||
s.append(P(at([(-0.2, -2.55), (0.2, -2.55), (0.0, -2.05)]))) # beard
|
||||
s.append(K("yellow"))
|
||||
s.append(C(*at([(-0.2, -2.95)])[0], 0.07))
|
||||
s.append(C(*at([(0.2, -2.95)])[0], 0.07))
|
||||
s.append(P(at([(-0.95, -1.95), (0.95, -1.95), (0.85, -1.65), (-0.85, -1.65)]))) # the vest's edge
|
||||
s.append(K("blue"))
|
||||
if i < 13: # arms folded
|
||||
s.append(P(at([(-1.1, -1.5), (1.1, -1.5), (1.05, -1.0), (-1.05, -1.0)])))
|
||||
else: # flung out wide
|
||||
for side in (-1, 1):
|
||||
hx, hy = side * 2.4, -3.4 + (0.3 if side > 0 else 0.0)
|
||||
s.append(P(at(tube([(side * 1.0, -1.9), (side * 1.8, -2.4), (hx, hy)], 0.5, 0.4))))
|
||||
s.append(P(at(ring(hx, hy - 0.1, 0.3, 7, side, 0.03))))
|
||||
if i >= 13: # the number, granted
|
||||
ncx, ncy = 3.65, -4.9
|
||||
u = min(1.0, (i - 13) / 5)
|
||||
gg = pop_scale(t, 13 / 23, 0.2, 1.2)
|
||||
s.append(K("red"))
|
||||
s.append(NUM(ncx, ncy, 2.1 * gg, w=0.4, rot=(1 - ease_out(u)) * -2 * math.pi))
|
||||
s.append(K("yellow"))
|
||||
for k in range(9): # the whirl of sparkles
|
||||
a = k * 2 * math.pi / 9 + i * 0.55
|
||||
r = 3.6 - 1.0 * u + 0.25 * math.sin(i + k)
|
||||
sz = 0.3 if (k + i) % 3 else 0.45
|
||||
s.append(P(star(ncx + r * math.cos(a), ncy + r * 0.62 * math.sin(a), sz, sz * 0.35, 4, a)))
|
||||
if i in (13, 14):
|
||||
s.append(K("blue"))
|
||||
for k in range(5):
|
||||
s.append(C(ncx - 1.5 + k * 0.75, ncy + 1.4 - (k % 2) * 0.4, 0.4, 0.07))
|
||||
return s
|
||||
|
||||
|
||||
ANIMS = [
|
||||
(phoenix, "red", "ignite"), (clocktower, "blue", "toll"),
|
||||
(archway, "red", "keystone"), (glacier, "blue", "calving"),
|
||||
(pegasus, "yellow", "gallop"), (waterfall, "blue", "cascade"),
|
||||
(titan, "red", "quake"), (genie, "blue", "wisp"),
|
||||
]
|
||||
Reference in New Issue
Block a user