A collection of simple matlab scripts to plot self-affine sets by iterating shapes with IFS in a deterministic way. For a probabilistic way, please refer to zfengg/PlotIFS.jl.
Straight steps to use:
- Download or clone this repository.
- Open the scripts with matlab.
- Change the parameters in the
settings
section of the script to what you need, e.g., defining a new IFS. Then run the scripts. 🎉
There are several predefined examples in the Example
section of the scripts, e.g., here. You may uncomment the corresponding lines to play with them.
The names of scripts explain which dimension of the IFS they are applied for.
SelfAffine3D.m
: 3D self-affine set.SelfAffine2D.m
: 2D self-affine set.SelfSimilar1D.m
: 1D self-similar set.SelfSimilar1DHomo.m
: 1D self-similar set generated from a homogeneous IFS.
Also, some scripts for special purposes are included in the folder utils
.