package ifs-fractals

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v1.0.0.tar.gz
md5=b19169db413e22ef907ec15302e49545
sha512=ac19066c283c916e40745bfd25ea64e72b39abb5e2e15ddfc9fdd520547c5c258383c279b77f3e80cb8cf0d30c64cdbfbd4c4becd7307afd9ae7fa6869e0b068

Description

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

Published: 28 Jul 2026

Dependencies (3)

  1. graphics >= "5.1"
  2. ocaml >= "4.09"
  3. dune >= "3.8"

Dev Dependencies (1)

  1. odoc with-doc

Used by

None

Conflicts

None