24 lines
560 B
Text
Executable file
24 lines
560 B
Text
Executable file
name: "Alien Heart"
|
|
mode: lines
|
|
blend: additive
|
|
persist: 0.897
|
|
linewidth: 1.95
|
|
|
|
[init]
|
|
n = 1015
|
|
|
|
[frame]
|
|
t = t + dt * (0.377 + bass_att * 1.5)
|
|
hue = hue + dt * 0.038
|
|
|
|
[point]
|
|
ring = floor(i * 29)
|
|
ri2 = frac(i * 29)
|
|
z = frac(ring / 29 + t)
|
|
rad = 0.05 + z * 0.917
|
|
a = ri2 * 6.28318 + ring * 0.423 + sin(t * 0.7) * 2
|
|
x = sin(a) * rad * (0.55 + sv * 0.656) / aspect
|
|
y = cos(a) * rad * (0.55 + sv * 0.656)
|
|
red = (1 - z) * (0.3 + bass * 0.7) * abs(sin(z * 4.256))
|
|
green = (1 - z) * (0.3 + bass * 0.7) * 0.22
|
|
blue = (1 - z) * (0.3 + bass * 0.7) * abs(cos(z * 4.256))
|