25 lines
689 B
Text
Executable file
25 lines
689 B
Text
Executable file
name: "Zero-G Maze II"
|
|
mode: lines
|
|
blend: additive
|
|
persist: 0.916
|
|
linewidth: 1.457
|
|
|
|
[init]
|
|
n = 1049
|
|
|
|
[frame]
|
|
t = t + dt * (0.267 + bass_att * 1.8)
|
|
hue = hue + dt * 0.038 + beat * 0.012
|
|
|
|
[point]
|
|
arm = floor(i * 7)
|
|
fa = frac(i * 7)
|
|
d = fa
|
|
ang = arm * 1.253 + d * 0.88 * 3.14159 + t
|
|
rad = (0.04 + pow(d, 2.401) * 1.15) * (0.7 + bass * 0.5)
|
|
x = sin(ang) * rad / aspect
|
|
y = cos(ang) * rad
|
|
red = (0.3 + 0.7 * d) * (0.3 + mid) * (0.45 + 0.55 * sin(hue * 6.28318 + d * 2.064))
|
|
green = (0.3 + 0.7 * d) * (0.3 + mid) * (0.45 + 0.55 * sin(hue * 6.28318 + d * 2.064 + 2.09))
|
|
blue = (0.3 + 0.7 * d) * (0.3 + mid) * (0.45 + 0.55 * sin(hue * 6.28318 + d * 2.064 + 4.19))
|
|
skip = if(below(fa, 0.04), 1, 0)
|