23 lines
497 B
Text
Executable file
23 lines
497 B
Text
Executable file
name: "Mercury"
|
|
mode: lines
|
|
blend: additive
|
|
persist: 0.888
|
|
linewidth: 1.97
|
|
|
|
[init]
|
|
n = 1109
|
|
|
|
[frame]
|
|
t = t + dt * (0.329 + bass_att * 0.8)
|
|
sway = sway + dt * (0.5 + treb)
|
|
hue = hue + dt * 0.097
|
|
|
|
[point]
|
|
a = i * 6.28318 * 3
|
|
wob = sin(a * 6 + t * 2) * (0.08 + treb * 0.3)
|
|
rad = (0.42 + mid * 0.25) * (0.85 + 0.15 * sin(a * 3 + sway)) + v * 0.31 - wob
|
|
x = sin(a) * rad / aspect
|
|
y = cos(a) * rad
|
|
red = 0.3 + abs(v) * 1.2 * 0.3
|
|
green = 0.3 + abs(v) * 1.2 * 0.65
|
|
blue = min(1, 0.3 + abs(v) * 1.2 * 1.3)
|