26 lines
524 B
Text
Executable file
26 lines
524 B
Text
Executable file
name: "Upward Current"
|
|
mode: lines
|
|
blend: additive
|
|
persist: 0.914
|
|
linewidth: 1.629
|
|
|
|
[init]
|
|
n = 869
|
|
|
|
[frame]
|
|
t = t + dt * (0.134 + mid * 0.5)
|
|
hue = hue + dt * 0.122
|
|
flash = flash * 0.87
|
|
|
|
[beat]
|
|
flash = 1
|
|
|
|
[point]
|
|
th = i * 6.28318 * 2 + t
|
|
r = abs(cos(2 * th + bass * 0.656))
|
|
rad = r * (0.5 + bass * 0.3 + sv * 0.2 + flash * 0.08)
|
|
x = sin(th) * rad / aspect
|
|
y = cos(th) * rad
|
|
red = 0.25 + 0.65 * r + v * 0.25 * abs(sin(th * 0.5))
|
|
green = 0.25 + 0.65 * r + v * 0.25 * 0.22
|
|
blue = 0.25 + 0.65 * r + v * 0.25 * abs(cos(th * 0.5))
|