ifs-fractalsversion Documentation on ocaml.org

IFS fractals (the Barnsley fern and friends) drawn with the chaos game

Draws fractals defined by iterated function systems (IFS) in an OCaml Graphics window, or renders them to PNG files (optionally colored by point density, and with no display needed), using the chaos game. Sixteen fractals are predefined (the Barnsley fern, the Sierpinski triangle, a dragon curve, a maple leaf, a sunflower, Queen Anne's lace, ...), available both from the ifs-fractals command-line tool and as a library for the toplevel. Defining a new fractal is a small record: a handful of affine transforms with their weights and a viewport.

Tags fractals graphics chaos-game ifs
AuthorCédric Bonhomme <cedric@cedricbonhomme.org>
LicenseGPL-3.0-or-later
Published
Homepagehttps://github.com/cedricbonhomme/iterated-function-systems
Issue Trackerhttps://github.com/cedricbonhomme/iterated-function-systems/issues
Documentationhttps://github.com/cedricbonhomme/iterated-function-systems
MaintainerCédric Bonhomme <cedric@cedricbonhomme.org>
Dependencies
Source [http] https://github.com/cedricbonhomme/iterated-function-systems/archive/refs/tags/v1.1.0.tar.gz
md5=510106f1f0b4cd9f50a59d59ef2ba2f2
sha512=c23248f4b09eeb4adc4fb165a1090264fd7e39efa0a7c9d287db9476701b344c5dcfa4d618801e3481cd9d08f9d2fd3b2bc325cf141eb4044257d6fe0257ab1a
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/ifs-fractals/ifs-fractals.1.1.0/opam
No package is dependent