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, 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.0.0.tar.gz
md5=b19169db413e22ef907ec15302e49545
sha512=ac19066c283c916e40745bfd25ea64e72b39abb5e2e15ddfc9fdd520547c5c258383c279b77f3e80cb8cf0d30c64cdbfbd4c4becd7307afd9ae7fa6869e0b068
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/ifs-fractals/ifs-fractals.1.0.0/opam
No package is dependent