openvisengine/tools/converted/root/embedded/Amp Picks/UnConeD - Cartoon Trip.ava

27 lines
492 B
Text
Executable file

name: "Cartoon Trip"
mode: lines
blend: additive
persist: 0.831
linewidth: 2.55
[init]
bars = 39
n = bars * 9
[frame]
rot = rot + dt * (0.116 + mid * 0.3)
hue = hue + dt * 0.112
[point]
bar = floor(i * bars)
bi = frac(i * bars)
lvl = getspec(bar / bars, 0, 0)
h = lvl * 0.83
a = bar * 6.28318 / bars + rot
rad = 0.189 + bi * h
x = sin(a) * rad / aspect
y = cos(a) * rad
red = 0.25 + bi * 0.75 * 0.85
green = 0.25 + bi * 0.75 * 0.92
blue = 0.25 + bi * 0.75
skip = if(above(bi, 0.97), 1, 0)