Created by @msurguy as a part of toolkit for Drawingbots.net .

Please change variables in the source code to experiment

Current formula:
function vectorField(p) { 
    return {
      x: Math.cos((Math.cos(p.y)-p.x*p.y)),
      y: (p.x)
    }; 
}
      

Credits: @anvaka's streamlines library, @mattdesl's path simplification library

*The formula that you used to generate the SVG will be embedded as TITLE element of the SVG