Circle generator.
- Jonathan
- A Brave Victim
- Posts: 3391
- Joined: Thu Feb 03, 2005 12:50 am
- Location: Not really lurking anymore
Yes, but with 64-bit floating point it's not too large. The multiply-adds should also help a bit (just 10 FP instructions on PPC, not 14, BTW). Here's what a 1000000-gon looks like at the point of the largest error (Z):
Close enough?
Code: Select all
M 373.205081 300.000000
L 373.204767 300.000544
L 373.204138 300.001632
...
L 373.205709 299.998912
L 373.205395 299.999456
Z
- Jonathan
- A Brave Victim
- Posts: 3391
- Joined: Thu Feb 03, 2005 12:50 am
- Location: Not really lurking anymore
The attachment explains what I did.
- Attachments
-
- Rotated ellipses.txt.gz
- Really gzipped
- (220 Bytes) Downloaded 240 times