Development of a Fractal Dimension Calculator Kelly Ran
Background: Fractal Dimension Lines: D=1 Squares: D=2 Fractals: Non-integer D Calculated using a formula Research applications
Background: Vector Graphics Raster graphics: pixel-by-pixel Research applications calculate D from raster graphics Vector graphics: Objects like paths and shapes Scalable Vector Graphics (SVG) based on XML
Purpose and Goal Is it possible to calculate D from vector images? Goal: To calculate D from SVG images and to show calculations on a display screen
Procedures Create SVG files Path Recursion levels Sierpinski Triangle, 3 iterations Sierpinski Triangle, 6 iterations
Procedures Processing language Import SVG Get() method Array of objects D calculation: size N of grid, number s of grids Hash table: N is key, s is value
Testing Line, square Fractals with known fractal dimensions
2 nd quarter development New project idea All new stuff Focus this quarter on SVG language
Problems Problems with importing SVG files into Processing (using Processing's built-in method) If I can't solve that problem, I'll write my own method to import SVG files
Results: SVG coding H-Tree fractal, 5 iterations Sierpinski Carpet, 3 iterations