adaptive sampling in action
f_svg_plot(document.getElementById("plot1"),x=>[x,Math.sin(x*x)],[0,7,1.1],[-0.5,7.5],[-1.3,1.3],{"max_angle":f_degree_to_radian(5),"max_recursion_count":9});
http://xahlee.info/ee/test2018-02-07/parametric_plot.html
#JavaScript
#JavaScript ES2015, learn how to Convert Object to/from Map.
http://xahlee.info/js/js_object_to_map_datatype.html
map object type is new. It replaces most use of object object.
And converting to/from object is the most important. There's no default function to do so.