Please change variables in the source code to experiment
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