#BezierCurve

2025-04-27

How it was supposed to look like in the first place: rounded with Bezier curves.

I've used Bezier curves and Hermite splines quite a lot to smooth out progressions of discrete points, such as Hamiltonian circuits. The challenge with this Hilbert curve is that there are tens of thousands of points, so drawing a nice OpenGL shape for each edge gets rather slow. Of course, this isn't a deal breaker for still images, but I like making my code efficient.

I've now constructed the Bezier curves in geometry shaders. I've used those for some time to draw simpler shapes more efficiently, such as line segments with rounded ends; the idea is to do more work on the GPU, while moving as little data as possible there. These line segments only need the endpoint coordinates, as well as thickness and colour. The curves seemed more challenging due to the number of parameters, but in the end there weren't really any issues.

#beziercurve #hilbertcurve #planefillingcurve #spacefillingcurve #lineart #linedrawing #singlelinedrawing #pythoncode #opengl #geometryshader #algorithmicart #algorist #mathart #laskutaide #ittaide #kuavataide #iterati

Alexandre B A Villaresvillares@pynews.com.br
2024-07-30
Alexandre B A Villares 🐍villares@ciberlandia.pt
2024-07-30

Work in progress: A #py5 curves booklet... as requested by the masses! (11 people)

#BezierCurve #QuadraticBezier #CatmullRom #Python #py5bot #Jupyter

screen capture showing the start of a py5bot Jupyter notebook titled "Drawing curved shapes with Python and py5"
2024-01-20

#genuary20 - Generative Typography

For typography, I used my Python library Ziafont, which I wrote to read font files and convert the glyphs to SVG paths. It was developed to support Ziamath for light-weight typesetting of mathematical expressions in pure Python. But for Genuary, instead of drawing the Bézier curves that normally outline a glyph, it takes the Bézier control points and randomly connects them with line segments. Generated from the QTAbbie font.

#genuary #typography #ziamath #ziafont #béziercurve #python #svg

The text "Codeismycanvas #Genuary24" is drawn using a generative technique where the control points around each glyph are randomly connected by straight lines to other nearby control points, filling in each character with multiple crossed lines.
2023-04-20

This week's PPLLUV Process focuses on the craftsmanship of creating elegant and graceful, bezier curves when building your artwork in Adobe Illustrator. youtube.com/@PPLLUVProcess #beziercurve #handlettering

2022-12-23

Amazing video (movie?) by @acegikmo about splines:

🔗 youtube.com/watch?v=jvPPXbo87d

It is very in depth, clearly explained and has stunning visuals. A masterclass of visual explanation that reminded of the first time I saw a 3B1B video! :clapping:

#recommendation #media #video #math #spline #BezierCurve #BernsteinPolynomial

Chaodditychaoddity
2022-12-18

youtube.com/watch?v=jvPPXbo87ds
Continuity of splines by Freya Holmer. Watching this right now. Its objectively a very good video. Im not a math person and I am thoroughly enjoying it.

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst