25 lines
574 B
Text
Executable file
25 lines
574 B
Text
Executable file
name: "splendora"
|
|
mode: lines
|
|
blend: additive
|
|
persist: 0.867
|
|
linewidth: 1.513
|
|
|
|
[init]
|
|
n = 974
|
|
|
|
[frame]
|
|
t = t + dt * (0.211 + bass_att * 1.8)
|
|
hue = hue + dt * 0.068 + beat * 0.012
|
|
|
|
[point]
|
|
arm = floor(i * 9)
|
|
fa = frac(i * 9)
|
|
d = fa
|
|
ang = arm * 1.515 + d * 1.922 * 3.14159 + t
|
|
rad = (0.04 + pow(d, 1.746) * 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) * abs(sin(d * 2.585))
|
|
green = (0.3 + 0.7 * d) * (0.3 + mid) * 0.22
|
|
blue = (0.3 + 0.7 * d) * (0.3 + mid) * abs(cos(d * 2.585))
|
|
skip = if(below(fa, 0.04), 1, 0)
|