4 ms·
Can you avoid the error — without needing to use higher-precision math for every step — by 1. using higher-precision math only to calculate some control points
by derefr 4y ago
Can you avoid the error — without needing to use higher-precision math for every step — by 1. using higher-precision math only to calculate some control points along the line; and then 2. partitioning long lines into smaller overlapping lines that connect at the control points; so that you can then 3. draw those short lines with the cheap algorithm?
- danbruc 4y agoYou probably could, but why? The only advantage that the algorithm could maybe claim is conceptual simplicity and this will be gone the moment you start trying to control those errors.