Perfect Circle Made Out Of Quadratic Bezier Curves
Posted: Fri Mar 18, 2016 1:49 pm
Since we regularly receive requests about a perfect circle made out of Bezier curves (and discussed this long ago), I've made a circle which is so close to perfect, that it is worth sharing.
FontCreator contains a basic ellipse drawing tool, which can also create a circle sufficient for most needs. It contains 4 on curve points, and 8 off curve points as shown here: The (almost) perfect circle contains 4 on curve points, and 16 off curve points as shown here: Here is a quarter of the circle, along with a basic circle (made out of 4 on curve and 8 off curve points). The basic curve is the one on the right, as it is a bit too large in some places. In general the basic circle is made out of fewer points, so is more compact. When used at small sizes it is good enough, but occasionally you might need a more perfect circle. Then feel free to use the one as available in the font project file "Circle Perfect Bezier": And the font file containing a circle for the ASCII character range can be downloaded from here: In case you didn't know it, keep in mind you can't describe a perfect circle with bezier curves, but you can come close. Since font outlines are internally stored as integers (whole numbers), the rounding errors are inevitably affecting the actual position of the points.
FontCreator contains a basic ellipse drawing tool, which can also create a circle sufficient for most needs. It contains 4 on curve points, and 8 off curve points as shown here: The (almost) perfect circle contains 4 on curve points, and 16 off curve points as shown here: Here is a quarter of the circle, along with a basic circle (made out of 4 on curve and 8 off curve points). The basic curve is the one on the right, as it is a bit too large in some places. In general the basic circle is made out of fewer points, so is more compact. When used at small sizes it is good enough, but occasionally you might need a more perfect circle. Then feel free to use the one as available in the font project file "Circle Perfect Bezier": And the font file containing a circle for the ASCII character range can be downloaded from here: In case you didn't know it, keep in mind you can't describe a perfect circle with bezier curves, but you can come close. Since font outlines are internally stored as integers (whole numbers), the rounding errors are inevitably affecting the actual position of the points.