Sudha247 / ocaml-joy

MIT License
21 stars 14 forks source link

Refactored circle packing example #101

Closed FayCarsons closed 5 months ago

FayCarsons commented 5 months ago

I applied reviews and rewrote portions that I felt could be improved. Added extensive comments with the thought this could be the example used as a sort of introduction to executing more complex generative art algorithms.

My color palette library should be available on Opam soon, might be nice to play around with different color palettes for this and other complex examples.

Currently rendering is broken, the circles overlap, but once the Cairo-fix PR I put in is merged that should not be the case.