Skip to content

Rudimentary tool for viewing the fractal dimension of an image

Notifications You must be signed in to change notification settings

matthew-morrison/fractal-dimension

Repository files navigation

Read Me

Table of Contents

This program approximates the dimension (Hausdorff dimension) of a fractal using the box counting method. The inspiration of this project came from 3blue1brown's video.

You can try out the program with the provided sample images by calling this command: python3 fractals.py sierpinsky.png.

This program is set to do a brute-force test for the fractal dimension of an object. It generates the factors of a nxn image, box-counts each iteration, and calculates the dimension between each iteration. Finding the true answer is left as an exercise to the user.

This program works best with large resolution fractals / fractals with many iterations. It can also be modified to work with simple 2-D binary arrays.

This is a winter break project. Please do not expect perfection from this project.

About

Rudimentary tool for viewing the fractal dimension of an image

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages