# Adapted from "keep tryin'" by zamuz (Winamp AVS / visbot.net) # Original Texer II dots: rs = getspec(.1,.1,0)*3 + .3 on spawn, # swirl movement x = x + .002*sin(y*20); y = y + .002*sin(x*20). name: keep tryin' author: zamuz (adapted) mode: dots blend: additive persist: 0.85 linewidth: 3 [init] n = 900 travel = 0 hue = 0 [frame] travel = travel + dt * (0.35 + bass_att * 1.2) swirl = 0.15 + mid * 0.5 hue = hue + dt * 0.15 [point] d = frac(rand(i + 0.13) + travel) ang = rand(i + 0.77) * 6.28318 + d * swirl * 6.28318 rad = d * (0.3 + bass * 0.7) x0 = sin(ang) * rad y0 = cos(ang) * rad # the swirl distortion from the original movement x = x0 + 0.05 * sin(y0 * 20) / aspect y = y0 + 0.05 * sin(x0 * 20) fade = sin(d * 3.14159) red = fade * (0.25 + 0.75 * sin(hue * 6.28318)) green = fade * (0.25 + 0.75 * sin(hue * 6.28318 + 2.09)) blue = fade * (0.25 + 0.75 * sin(hue * 6.28318 + 4.19)) size = 1.5 + treb * 3