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^2 + y^2) + 1 / sqrt(x^2 + y^2)) cos(atan2(y,x))
  • ln(sqrt((x + 1)^2 + y^2)) - ln(sqrt((x - 1)^2 + y^2))
  • 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