BezierInfo-2
glyphsLib
BezierInfo-2 | glyphsLib | |
---|---|---|
20 | 4 | |
2,266 | 173 | |
- | 0.6% | |
5.0 | 8.7 | |
2 months ago | 4 days ago | |
HTML | Python | |
GNU General Public License v3.0 or later | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
BezierInfo-2
- Flattening Bézier Curves and Arcs
-
Solution needed
For the bezier you need 4 control points via a click, then evaluate using lerps (or basis functions). Start here https://pomax.github.io/bezierinfo/
-
Hexagonal Grids
> How to pack geometric shapes inside other shapes https://erich-friedman.github.io/packing/
Packing / bin-packing is very serious stuff: savings made there directly translate to less waste / reduced costs (for example when cutting shapes into sheets of metal in big factories).
> * Amazing reference on bezier curves https://pomax.github.io/bezierinfo/
And some beautiful graphs in there, notably those under section 26 "Curvature of a curve". Screenshot'ed for my own collection of good looking stuff!
-
Visualization of Common Algorithms
https://pomax.github.io/bezierinfo/#explanation
A visual overview of commonly used creative coding related techniques and algorithms.
- A Primer on Bézier Curves
-
Text Rendering Hates You
I wrote an openGL font renderer once, it was a lot of fun. Bezier curves are such an elegant technique. The difference between what I wrote and what you'd use in a proper environment is pretty big, but I recommend it sometime.
Fonts are pretty much just third or fourth degree beziers, iirc (i may have my terminology wrong). Try it out sometime, I did mine using tessellation shaders.
Btw, you'll never find a better guide on beziers than here:
https://pomax.github.io/bezierinfo/
-
How to get the smoothness of a cubic Bezier curve in Apache Commons math3.
Alternatively you can use the equation of a cubic Bézier curve to do the computations yourself. This website offers great explanations and examples of the math behind Bézier curves: https://pomax.github.io/bezierinfo/
-
[Media] I'm making a new open source font editor with gtk-rs. I just managed to make non-linear curves with my Bézier path tool for the first time!
Btw, for Bezier math this is a great resource: https://pomax.github.io/bezierinfo/
- Transforming a parametric equation into explicit equation
- Linii bezier cu coliziune
glyphsLib
-
[Media] I'm making a new open source font editor with gtk-rs. I just managed to make non-linear curves with my Bézier path tool for the first time!
I already use glyphsLib, another googlefonts python3 library, to import .glyphs files and convert them to UFOv3 with the pyo3 crate (python3 bindings). It's very straightforward to do this stuff this way if there aren't rust crates that do what you want already
- Glyphs source files (.glyphs) to UFOs | This Python 3.6+ library provides a bridge from Glyphs source files (.glyphs) to UFOs and Designspace files via defcon and designspaceLib.
- googlefonts/glyphsLib | This Python 3.6+ library provides a bridge from Glyphs source files (.glyphs) to UFOs and Designspace files via defcon and designspaceLib.
What are some alternatives?
BezierCurveTool2.0
fontmake - Compile fonts from sources (UFO, Glyphs) to binary (OpenType, TrueType).
CAM6 - Cellular Automata Machine (CAM6) Simulator
bezmouse - Simulate human mouse movements with xdotool
spiral_cube - How to convert between spiral and cube hexagonal coordinate systems
SoftwareRenderer - Software rendering engine with PBR. Built from scratch on C++.
Skia - Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.
design-reviews - W3C specs and API reviews
textbooks - Source code of Mathigon's interactive textbooks
GoJS, a JavaScript Library for HTML Diagrams - JavaScript diagramming library for interactive flowcharts, org charts, design tools, planning tools, visual languages.
canvas2D - Update Canvas 2D API
solvespace - Parametric 2d/3d CAD