zfengg / SelfAffine

Simple scripts to plot self-affine sets.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SelfAffine

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.

Usage

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.

Simple documentation

The names of scripts explain which dimension of the IFS they are applied for.

Also, some scripts for special purposes are included in the folder utils.

Some examples

Basic plots

Inhomo1D FengWangCarpet SelfaffineGasket Attenna SierpinskiPyramid Cantor3D BaranskiSponge

Utils

nested distanceCircles percolation nonoverlap-OneFourth-itr3

About

Simple scripts to plot self-affine sets.


Languages

Language:MATLAB 100.0%