3 ms·
For me, it's Bézier curves --- Freya Holmér has a wonderful video on them: https://www.youtube.com/watch?v=jvPPXbo87ds https://www.youtube.com/watch?v=jvPPXbo8
by WillAdams 1y ago
For me, it's Bézier curves --- Freya Holmér has a wonderful video on them:
https://www.youtube.com/watch?v=jvPPXbo87ds https://www.youtube.com/watch?v=jvPPXbo87ds
and I've been trying to read through _METAFONT: The Program_ and https://pomax.github.io/bezierinfo/ https://pomax.github.io/bezierinfo/ and I keep wondering if I shouldn't just try scripting Inkscape....
I want to do a couple of different things, and not sure if they all fit in one project or no:
- implement a single line font in my current project: https://github.com/WillAdams/gcodepreview https://github.com/WillAdams/gcodepreview
- implement a way to convert arbitrary curves into smooth arcs (for DXFs or G2/G3 arcs for G-code)
- work up an interactive version of METAFONT/METAPOST which allows both programming and drawing
- leakycap 1y agoI found that wrapping my head around B-splines helped me finally understand how to implement routines for Bézier curves. https://mathworld.wolfram.com/B-Spline.html https://mathworld.wolfram.com/B-Spline.html Also easier for my brain to use in practice, when implemented, than Béziers, if they can work for you. (Edit to add - great video you linked!)