Velocity fields: Potential

This simulation shows the potential surface of the vector field, with particles following the velocity vectors.  Enter an arbitrary potential function in the box Potential. Try for example:
  • -(sqrt(x² + y²) + 1 / sqrt(x² + y²)) cos(atan2(y,x))
  • log(sqrt((x + 1)² + y²)) - log(sqrt((x - 1)² + y²))
  • 1/sqrt(x^2+y^2)
  • sqrt(x^2+y^2)
  • arctan2(y,x)
  • x^2-y^2
  • x-1/2y^2
  • -1/x^2
  • abs(x)
  • -x