openvisengine/tools/converted/root/embedded/Amp Picks/horse-fly - jinx (skupers remix).ava

27 lines
560 B
Text
Executable file

name: "jinx (skupers remix)"
mode: dots
blend: additive
persist: 0.814
linewidth: 1.769
[init]
bars = 46
n = bars * 12
[frame]
rot = rot + dt * (0.046 + mid * 0.3)
hue = hue + dt * 0.043
[point]
bar = floor(i * bars)
bi = frac(i * bars)
lvl = getspec(bar / bars, 0, 0)
h = lvl * 0.65
a = bar * 6.28318 / bars + rot
rad = 0.246 + bi * h
x = sin(a) * rad / aspect
y = cos(a) * rad
red = 0.25 + bi * 0.75 * abs(sin(bar * 6.28318 / bars))
green = 0.25 + bi * 0.75 * 0.22
blue = 0.25 + bi * 0.75 * abs(cos(bar * 6.28318 / bars))
skip = if(above(bi, 0.97), 1, 0)