27 lines
644 B
Text
Executable file
27 lines
644 B
Text
Executable file
name: "warm freeform (mykal remix)"
|
|
mode: dots
|
|
blend: additive
|
|
persist: 0.898
|
|
linewidth: 1.303
|
|
|
|
[init]
|
|
spokes = 32
|
|
n = spokes * 37
|
|
|
|
[frame]
|
|
rot = rot + dt * (0.135 + mid * 0.4)
|
|
t = t + dt * 2.906
|
|
hue = hue + dt * 0.077
|
|
|
|
[point]
|
|
sp = floor(i * spokes)
|
|
si = frac(i * spokes)
|
|
a = sp * 6.28318 / spokes + rot
|
|
wave = sin(si * 3 * 3.14159 - t) * (0.03 + bass * 0.28)
|
|
rad = 0.12 + si * 0.868 + wave
|
|
x = sin(a) * rad / aspect
|
|
y = cos(a) * rad
|
|
red = (1 - si) * 0.45 + 0.15 + sv * 0.55 * abs(sin(sp * 0.4))
|
|
green = (1 - si) * 0.45 + 0.15 + sv * 0.55 * 0.22
|
|
blue = (1 - si) * 0.45 + 0.15 + sv * 0.55 * abs(cos(sp * 0.4))
|
|
skip = if(above(si, 0.985), 1, 0)
|