openvisengine/tools/converted/root/embedded/Envision/04 zamuz - roll-on mojo (duo remix).ava

25 lines
589 B
Text
Executable file

name: "roll-on mojo (duo remix)"
mode: lines
blend: additive
persist: 0.889
linewidth: 1.751
[init]
n = 950
[frame]
t = t + dt * (0.251 + bass_att * 1.8)
hue = hue + dt * 0.089 + beat * 0.012
[point]
arm = floor(i * 3)
fa = frac(i * 3)
d = fa
ang = arm * 1.538 + d * 1.277 * 3.14159 + t
rad = (0.04 + pow(d, 1.775) * 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 * 3.995))
green = (0.3 + 0.7 * d) * (0.3 + mid) * 0.22
blue = (0.3 + 0.7 * d) * (0.3 + mid) * abs(cos(d * 3.995))
skip = if(below(fa, 0.04), 1, 0)