28 lines
643 B
Text
Executable file
28 lines
643 B
Text
Executable file
name: "Tie Tunnel SSC"
|
|
mode: lines
|
|
blend: additive
|
|
persist: 0.851
|
|
linewidth: 2.021
|
|
|
|
[init]
|
|
n = 1179
|
|
|
|
[frame]
|
|
t = t + dt * (0.17 + bass_att * 0.9)
|
|
hue = hue + dt * 0.129
|
|
flash = flash * 0.86
|
|
|
|
[beat]
|
|
flash = 1
|
|
|
|
[point]
|
|
st = floor(i * 2)
|
|
si = frac(i * 2)
|
|
s = si * 6 * 6.28318 + t
|
|
ph = st * 3.14159
|
|
rad = (0.28 + bass * 0.32 + flash * 0.06) * (0.55 + 0.45 * (cos(s + ph) * 0.5 + 0.5))
|
|
x = sin(s + ph) * rad / aspect
|
|
y = (si - 0.5) * 1.8
|
|
red = min(1, 0.25 + 0.55 * (cos(s + ph) * 0.5 + 0.5) + treb * 0.25 * 1.3)
|
|
green = 0.25 + 0.55 * (cos(s + ph) * 0.5 + 0.5) + treb * 0.25 * 0.5
|
|
blue = 0.25 + 0.55 * (cos(s + ph) * 0.5 + 0.5) + treb * 0.25 * 0.12
|