This repository contains the code used to generate pseudofractal 3D shapes and to calculate its fractal dimension and lacunarity using Python and Pytorch.
Pytorch allows for GPU acceleration.
This code is explained in more detail in the following blog post: https://mathpn.github.io/coding/exploring-fractals-with-pytorch/