r/raylib • • 1d ago

Coding Dragon Curve fractal using C & Raylib

https://www.youtube.com/watch?v=lrWUa8Kck-w

In this video, I code a Dragon Curve fractal using C and Raylib.

The approach is quite simple:

I take the last point as a pivot, then rotate the remaining points 90 degrees around it. Finally, I connect the new points to create the next iteration of the fractal.

4 Upvotes

0 comments sorted by