openvisengine/tools/converted/root/embedded/Amp Picks/amphirion - nebulous (skupers remix).ava

28 lines
696 B
Text
Executable file

name: "nebulous (skupers remix)"
mode: dots
blend: additive
persist: 0.833
linewidth: 2.862
[init]
cols = 28
n = cols * cols
[frame]
rot = rot + dt * (0.104 + mid * 0.4)
hue = hue + dt * 0.08
[point]
cx = floor(i * cols) / (cols - 1)
cy = frac(i * cols)
h = sv * 0.235
ux = (cx - 0.5) * 1.448
uy = (cy - 0.5) * 1.448
rx = ux * cos(rot) - uy * sin(rot)
ry = ux * sin(rot) + uy * cos(rot)
x = (rx / aspect) * (1 - h * 0.7)
y = ry * (1 - h * 0.7)
red = 0.22 + h * 2.2 * (0.45 + 0.55 * sin(hue * 6.28318 + cx * 3.774))
green = 0.22 + h * 2.2 * (0.45 + 0.55 * sin(hue * 6.28318 + cx * 3.774 + 2.09))
blue = 0.22 + h * 2.2 * (0.45 + 0.55 * sin(hue * 6.28318 + cx * 3.774 + 4.19))
size = 1.2 + h * 5