Path to be approximated: P 0,-100 N300,90 0,270 300,450
Approximation of the path:
Only numbers without units are allowed.
Commands to be used are: F,f,G,g,I,i,J,j,K,k,N,n,P,p,R,r
Note that currently the error handling used in this script does not really help to find
errors in the path notation - take care yourself! The script 'eats' almost every input and
converts it into some valid path. For example not specified commands will be interpreted as
numbers as PHP interpretes this - this will result typically in a '0'. If a command is followed
by a wrong amount of numbers, the superfluous numbers are skipped respectively if not
enough numbers are present, the command itself is skipped.
This error handling would not be very helpful as a real SVG implementation, but it avoids, that this page
can be completely corrupted with an invalid input.