graphics icon indicating copy to clipboard operation
graphics copied to clipboard

Make it possible to draw a Bezier curve

Open eterevsky opened this issue 9 years ago • 1 comments

Bezier curve is a useful primitive, that may be used to approximate any other curve. They are often used as building blocks for drawing fonts and general vector graphics. It would be nice to have a module that would allow drawing a path consisting of Bezier curve arcs, or fill a figure bounded by it.

eterevsky avatar Oct 18 '16 20:10 eterevsky

The way this could be done is by generating a polygon and using the stencil buffer. https://github.com/PistonDevelopers/graphics/issues/860

I haven't had time to get around to this. Feel free to try!

bvssvni avatar Oct 18 '16 22:10 bvssvni