Home | Bezier and Circle Art


Bezier Art

Given a target image, this program will attempt to approximate the image using only randomly generated bezier curves. The program will randomly generate several curves each iteration, then select which, if any, brings the working image closer to the target.
WARNING: large images make this program very slow! Iterations are very numerous and very random. This does not make the program fast!! Consider keeping image dimensions small, like 256x256.

Source: main.c
Binary (Windows x64, AVX2): BezierTest.exe

Circle Art

The same as above, except that it generates circles instead of bezier curves. Also unlike the above, it generates translucent circles instead of all opaque ones. The rest of the program is algorithmically the same.

Source: main.c
Binary (Windows x64, AVX2): CircleTest.exe