Drawing a ellipse with PHP
script output:
PU1000 1000; PD823 646; PD792 722; PD769 809; PD755 902; PD750 1000; PD755 1098; PD769 1191; PD792 1278; PD823 1354; PD861 1416; PD904 1462; PD951 1490; PD1000 1500; PD1049 1490; PD1096 1462; PD1139 1416; PD1177 1354; PD1208 1278; PD1231 1191; PD1245 1098; PD1250 1000; PD1245 902; PD1231 809; PD1208 722; PD1177 646; PD1139 584; PD1096 538; PD1049 510; PD1000 500; PD951 510; PD904 538; PD861 584; PD823 646;
If you don't believe it's an ellipse, just look at
This may look a bit funny, because it's designed for my plasma cutter. You'll see a red line moving from x0 y0 to the center of the shape, then a black line to and around the perimeter.
- Just the
code
, man.