Im trying to find the percentage of error for a trigonometric sine graph.
I wrote an approximation of the graph, and am comparing the two up close, https://www.shadertoy.com/view/NslfRs
Red represents my error, green represents the actual sine.
Is there a way to calculate out the error between the two graphs? I also have a version on desmos if thats more optimal (https://www.desmos.com/calculator/5xyvw6b5uh)