Algorithmic doodle of the afternoon inspired by an image seen during #genuary2025 . The goal is to recreate an approximation of an image with a single non intersecting line. I've used a dragon curve fractal with varying recursion level according to the brightness. The curve is then rounded using cubic bezier curve and colourized according to the original image. I've actually used four lines originating from the center left empty on purpose. There are also some places where it self intersects. But it was fun to do.
#cprogramming #generativeart