Flow Field Synthesis Lab


Variables:

x = scaled x position
y = scaled y position
t = time
r = distance from center
a = angle from center

Good formulas:

Math.sin(x*2+t)+Math.cos(y*2+t)

a + Math.sin(r*8-t*2)

Math.sin(r*20+t)*Math.cos(a*5)

Math.sin(x*x+y*y+t*2)