package ifs-fractals

  1. Overview
  2. Docs
IFS fractals (the Barnsley fern and friends) drawn with the chaos game

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v1.1.0.tar.gz
md5=510106f1f0b4cd9f50a59d59ef2ba2f2
sha512=c23248f4b09eeb4adc4fb165a1090264fd7e39efa0a7c9d287db9476701b344c5dcfa4d618801e3481cd9d08f9d2fd3b2bc325cf141eb4044257d6fe0257ab1a

doc/CHANGES.html

1.1.0 (2026-08-05)

  • Fractals can now be rendered to PNG files without a graphical display: ifs-fractals -o fern.png barnsley from the command line (with an optional -s WIDTHxHEIGHT), or save_png from the library. The PNG writer is self-contained — no new dependency.
  • Density coloring: with -c (or save_png ~color:true), pixels are colored by how often the chaos game visits them, on a log scale from light green to dark blue.

1.0.0 (2026-07-27)

First release on opam, sixteen years after the first commit.

  • Packaged with dune: the code now builds as a library (ifs-fractals, module Ifs_fractals) and an ifs-fractals command-line executable.
  • The historical toplevel workflow (#use "ifs_fractals.ml";;) still works from a clone of the repository.
  • Sixteen predefined fractals, including the five added in 2026: maple, fiddlehead, vegvisir, sunflower and lace.