All Projects → cedricbonhomme → iterated-function-systems

cedricbonhomme / iterated-function-systems

Licence: GPL-3.0 license
Iterated Function Systems fractals with OCaml.

Programming Languages

ocaml
1615 projects

Projects that are alternatives of or similar to iterated-function-systems

python-tsp-simulated-annealing
Visualisation of Simulated Annealing algorithm to solve TSP
Stars: ✭ 41 (+24.24%)
Mutual labels:  visualisation
pycobra
python library implementing ensemble methods for regression, classification and visualisation tools including Voronoi tesselations.
Stars: ✭ 111 (+236.36%)
Mutual labels:  visualisation
gis-snippets
Some code snippets for GIS tasks
Stars: ✭ 45 (+36.36%)
Mutual labels:  fractal
innoq-styleguide
INNOQ Styleguide and Component Library
Stars: ✭ 24 (-27.27%)
Mutual labels:  fractal
EgoCNN
Code for "Distributed, Egocentric Representations of Graphs for Detecting Critical Structures" (ICML 2019)
Stars: ✭ 16 (-51.52%)
Mutual labels:  self-similarity
laravel-transformer-maker
Quick way to create Fractal Transformers.
Stars: ✭ 29 (-12.12%)
Mutual labels:  fractal
fractal-twig-drupal-adapter
Twig template adapter for Fractal with Drupal 8 directives.
Stars: ✭ 13 (-60.61%)
Mutual labels:  fractal
Simulizer
A MIPS (R3000) Processor Emulator and Visualisation tool
Stars: ✭ 28 (-15.15%)
Mutual labels:  visualisation
MLDemos
Machine Learning Demonstrations: A graphical interface to draw data, apply a diverse array of machine learning tools to it, and directly see the results in a visual and understandable manner.
Stars: ✭ 46 (+39.39%)
Mutual labels:  visualisation
fractal-starter-kit
Starter kit for Fractal with SCSS, Webpack, XO, sass-lint and Gulp
Stars: ✭ 22 (-33.33%)
Mutual labels:  fractal
COVID breakdown
COVID-19 statistics in Taiwan
Stars: ✭ 15 (-54.55%)
Mutual labels:  visualisation
styleguide-starterkit
A starterkit to create styleguides with Fractal and Webpack.
Stars: ✭ 35 (+6.06%)
Mutual labels:  fractal
agrid
A grid for modelling, analyse, map and visualise multidimensional and multivariate data
Stars: ✭ 16 (-51.52%)
Mutual labels:  visualisation
haxe-shaderfun
lyapunov fat fractals haxe prodecure
Stars: ✭ 14 (-57.58%)
Mutual labels:  fractal
SortVis
https://airtucha.github.io/SortVis
Stars: ✭ 23 (-30.3%)
Mutual labels:  visualisation
leaflet-velocity
Visualise velocity data on a leaflet layer
Stars: ✭ 467 (+1315.15%)
Mutual labels:  visualisation
qvisualisation
Visualisation toolbox based on Qt WebEngine and D3.js
Stars: ✭ 25 (-24.24%)
Mutual labels:  visualisation
Game-Animation
A python tool to visualise game animations
Stars: ✭ 74 (+124.24%)
Mutual labels:  visualisation
breadcrumbs
Visualise a custom hierarchy in your Obsidian vault. API: https://skepticmystic.github.io/breadcrumbs/
Stars: ✭ 299 (+806.06%)
Mutual labels:  visualisation
wasabi
A Buddhabrot explorer based on wabisabi, but with a more affectionate name.
Stars: ✭ 17 (-48.48%)
Mutual labels:  fractal

Iterated Function Systems with OCaml

Fractals are images of infinite complexity, characterized by being "similar" to themselves in some sense at all scales of magnification.

Iterated function systems are a method of generating fractals using self-similarity. An IFS image is defined as being the sum of geometric transforms of itself. It turns out that simply specifying the transforms along with a weight for each transform is enough to determine the image.

How to use this code

In your shell

$ sudo apt install ocaml opam
$ opam init
$ opam install graphics
$ opam install ocamlfind
$ eval $(opam env)
$ ocaml
        OCaml version 4.11.1

# 

In your OCaml interpreter

# #use "ifs_fractals.ml";;
# draw barnsley 200000;;

Result

Barnsley Fern

Resources

This work was carried out during a functional programming course.

Some information about Iterated Function Systems (with the Barnsley Fern):

Alternatives

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].