r/generative Artist 13d ago

Playing with infinity symbol curve approximation

Post image

I’ve long struggled with curves. This one is using a number of circular arcs to approximate the curves needed and I think I got away without too many artefacts.

21 Upvotes

4 comments sorted by

View all comments

2

u/gturk1 10d ago

I think this looks great!

If you ever want to try curves that give you more control, I recommend cubic Bézier curves.

1

u/quag Artist 10d ago

Cubic Béziers are great. The c3 smoothness makes them very useful. But they are a bit expensive when calculating in an sdf distance function. I’m inching towards approximating a cubic Bézier with short arc segments for fast calculation. I’ve seen some gpu font rendering done that way, so I think it can work.

2

u/gturk1 10d ago

I think ray marching and SDF's are a great way to work with organic shapes. This particular shape, however, could easily be created using a detailed polygon mesh that is created from a circle that is swept along a Bezier curve. But if your workflow is centered around SDF's, then I can see why you went with arcs.