29 lines
678 B
Text
Executable file
29 lines
678 B
Text
Executable file
name: "smell of music (skupers remix)"
|
|
mode: dots
|
|
blend: additive
|
|
persist: 0.78
|
|
linewidth: 2.5
|
|
|
|
[init]
|
|
cols = 36
|
|
n = cols * cols
|
|
|
|
[frame]
|
|
rot = rot + dt * (0.05 + mid * 0.4)
|
|
hue = hue + dt * (0.04 + treb * 0.1)
|
|
|
|
[point]
|
|
cx = floor(i * cols) / (cols - 1)
|
|
cy = frac(i * cols)
|
|
h = sv * 0.35
|
|
ux = (cx - 0.5) * 1.6
|
|
uy = (cy - 0.5) * 1.6
|
|
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)
|
|
lum = 0.25 + h * 2.2
|
|
red = lum * (0.6 + 0.4 * sin(hue * 6.28318 + cx * 3))
|
|
green = lum * (0.6 + 0.4 * sin(hue * 6.28318 + cx * 3 + 2.09))
|
|
blue = lum * (0.6 + 0.4 * sin(hue * 6.28318 + cx * 3 + 4.19))
|
|
size = 1.2 + h * 5
|