Calculating Fractal Dimension




Using the basic equation n=1/s^D for calculating dimension D.

Below shows the number of pieces n in relationship to s vs D for a given line, square and cube.

Reworking: D is dimension, s is scale and n is number of line segments.
Start here: n=1/s^D
<=> D =
log n = log 1/(1/s^D) = log
<=> D = log n/log s