Fractals and Multi-Layer Coloring Algorithms

Similar documents
Exploring the Effect of Direction on Vector-Based Fractals

Fractal Coding. CS 6723 Image Processing Fall 2013

Fractals: Self-Similarity and Fractal Dimension Math 198, Spring 2013

CGT 581 G Procedural Methods Fractals

Hei nz-ottopeitgen. Hartmut Jürgens Dietmar Sau pe. Chaos and Fractals. New Frontiers of Science

Generation of 3D Fractal Images for Mandelbrot and Julia Sets

Scientific Calculation and Visualization

Fractals Week 10, Lecture 19

4.3 Discovering Fractal Geometry in CAAD

Fun with Fractals Saturday Morning Math Group

Construction of 3D Mandelbrot Set and Julia Set

LEARNING HERITAGE RESTORATION, LEARNING MATHEMATICS. Santiago Sanchez-Beitia, Javier Barrallo

Images of some fractals

Gentle Introduction to Fractals

Koch-Like Fractal Images

Session 27: Fractals - Handout

Fractals: a way to represent natural objects

Mathematics 350 Section 6.3 Introduction to Fractals

Clouds, biological growth, and coastlines are

Fractals. Moreno Marzolla Dip. di Informatica Scienza e Ingegneria (DISI) Università di Bologna.

Procedural modeling and shadow mapping. Computer Graphics CSE 167 Lecture 15

Fractal Geometry. Prof. Thomas Bäck Fractal Geometry 1. Natural Computing Group

Computer Graphics (CS 543) Lecture 2c: Fractals. Prof Emmanuel Agu. Computer Science Dept. Worcester Polytechnic Institute (WPI)

Fractals and L- Systems

Fractals. University. 1 The approach and terminology used here are from Michael Frame s Fractal course taught for many years at Yale

Computer Graphics 4731 Lecture 5: Fractals. Prof Emmanuel Agu. Computer Science Dept. Worcester Polytechnic Institute (WPI)

Fractals. Materials. Pencil Paper Grid made of triangles

Chapel Hill Math Circle: Symmetry and Fractals

A Discussion of Julia and Mandelbrot Sets. In this paper we will examine the definitions of a Julia Set and the Mandelbrot Set, its

Fractal Geometry. LIACS Natural Computing Group Leiden University

CSE 167: Lecture #17: Procedural Modeling. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2011

Fun with Fractals and Functions. CHAMP at University of Houston March 2, 2015 Houston, Texas

CS 4300 Computer Graphics. Prof. Harriet Fell Fall 2012 Lecture 28 November 8, 2012

Solid models and fractals

CSE 167: Lecture #15: Procedural Modeling. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2012

Fractals & Iterative Function Systems

On Fractal Colouring Algorithms

ITERATIVE OPERATIONS IN CONSTRUCTION CIRCULAR AND SQUARE FRACTAL CARPETS


Lecture 3: Some Strange Properties of Fractal Curves

CS 543: Computer Graphics Lecture 3 (Part I): Fractals. Emmanuel Agu

Complexity is around us. Part one: the chaos game

BarnCamp The HTML 5 <canvas> element as seen through a fractal eye: a brief introduction

Outline. Solid models and fractals. Constructive solid geometry. Constructive solid geometry COM3404. Richard Everson

Fractals and the Chaos Game

The Size of the Cantor Set

Discovering. Algebra. An Investigative Approach. Condensed Lessons for Make-up Work

Smooth Self-Similar Curves

Fractal Image Coding (IFS) Nimrod Peleg Update: Mar. 2008

In this lesson, students build fractals and track the growth of fractal measurements using tables and equations. Enduring Understanding

Lecture 8: Modelling Urban Morphology:

Fixed Point Iterative Techniques An Application to Fractals

Maths at the Movies. Chris Budd

From Sierpinski Triangle to Fractal Flowers

Fractals. Fractals. Beautiful designs of infinite structure and complexity Qualities of Fractals:

Fractal Image Compression


ITERATED FUNCTION SYSTEMS WITH SYMMETRY IN THE HYPERBOLIC PLANE (Preprint)

Fractal Dimension and the Cantor Set

CGT 511 Procedural Methods

Geometric Sculpture For K-12: Geos, Hyperseeing, and Hypersculptures

Folding the Dragon Curve Fractal

New Escape Time Koch Curve in Complex Plane

Symmetric Fractals. Seeking Sangaku Ramanujan, Hardy, and Ono

Iterated Functions Systems and Fractal Coding

A TECHNOLOGY-ENHANCED FRACTAL/CHAOS COURSE. Taeil Yi University of Texas at Brownsville 80 Fort Brown Brownsville, TX

Space Filling: A new algorithm for procedural creation of game assets

An Introduction to Fractals

Scalar Visualization

Fractal Art: Fractal Image and Music Generator

Fractals in Nature and Mathematics: From Simplicity to Complexity

Discrete Dynamical Systems: A Pathway for Students to Become Enchanted with Mathematics

Stat 45: Our Fractal World? Topics for Today. Lecture 1: Getting Started. David Donoho Statistics Department Stanford University. Sierpinski Gaskets

An Investigation of Chaos Theory Using Supercomputing Techniques

Fractal Analysis. By: Mahnaz EtehadTavakol

Computer Science 173 Fall, Project 3: Lindenmayer Systems Due in class on Monday, September 28

CHETTINAD COLLEGE OF ENGINEERING & TECHNOLOGY CS2401 COMPUTER GRAPHICS QUESTION BANK

Applications. 44 Stretching and Shrinking

FRACTAL: A SET WHICH IS LARGER THAN THE UNIVERSE

Lecture 6: Fractals from Iterated Function Systems. He draweth also the mighty with his power: Job 24:22

MAADHYAM. Nurturing Gifted Minds. Printed Under Gifted Education Abhiyaan An Initiative By The Office Of Principal Scientific Advisor To The

The Computational Beauty of Nature

Learning Plane Geometry Alvaro Briz Redon, Angel Serrano Aroca

New Mandelbrot and Julia Sets for Transcendental Function

Does it Look Square? Hexagonal Bipyramids, Triangular Antiprismoids, and their Fractals

GTPS Curriculum Mathematics Grade 8

<The von Koch Snowflake Investigation> properties of fractals is self-similarity. It means that we can magnify them many times and after every

Chapter 12: Fractal Geometry The Koch Snowflake and Self-Similarity

The Koch curve in three dimensions

CSC 470 Computer Graphics. Fractals

6.094 Introduction to MATLAB January (IAP) 2009

Finite Element Analysis Prof. Dr. B. N. Rao Department of Civil Engineering Indian Institute of Technology, Madras. Lecture - 24

Hopalong Fractals. Linear complex. Quadratic complex

18) The perpendiculars slices not intersecting origo

Total Choas... Total Chosa

Topics. Recursive tree models. Procedural approach L-systems. Image-based approach. Billboarding

A New Method for Designing Iterated Knots

CS2401 COMPUTER GRAPHICS ANNA UNIV QUESTION BANK

6.837 Introduction to Computer Graphics Quiz 2 Thursday November 20, :40-4pm One hand-written sheet of notes allowed

Metamorphic Animation of Plant-like Fractal Images Based on a Family of Transitional IFS Code Sets Approach

Transcription:

Fractals and Multi-Layer Coloring Algorithms Javier Barrallo and Santiago Sanchez Mathematics, Physics and Computer Science The University of the Basque Country School of Architecture. Plaza Onati, 2. 20009 San Sebastian, SPAIN E-mail: mapbacaj@sa.ehu.es BRIDGES Mathematical Connections in Art, Music, and Science Abstract The focus of exploration in new fractal techniques is shifting away from fractal formulas and towards coloring algorithms. This paper provides an overview of the coloring algorithms in popular use and how they can be combined and superposed. We call these multi layer fractals, and they are the source of some of the richest fractal imagery being produced today. In this way, even a limited collection of fractal coloring algorithms can be combined in almost endless ways. 1. Dynamical systems and fractals Dynamical systems are a well-known branch of mathematics, but until the arrival of computers the sheer number of calculations involved made them impractical for real use. The computer's ability to perform rapid calculations allows us to condense billions of calculations into results we can digest. Benoit Mandelbrot was the first one to use computers to produce graphical representations of dynamical systems in the complex plane, based on the quadratic formulas described by the French mathematician Gaston Julia at the beginning of the 20th century. During the 1980s, fractal enthusiasts began exploring fractals for their artistic merit, not for their mathematical significance. While mathematics was the tool, the focus was art. As the fractal equation itself was the most obvious mathematical element, fractal artists experimented with new equations, introducing hundreds of different fractal types. By carefully choosing parameters to refme form, color, and location, these explorers introduced the concept of fractal art. Mer 1995, few new major fractal types have been introduced. This is because the newest innovations in fractal art do not come from changing the fractal equation, but from new ways of coloring the results of those equations. As these coloring algorithms move from simple to complex, fractal artists are often returning to the simpler, classical fractal equations. With the increased flexibility these sophisticated algorithms provide, there is even more room for personal artistic expression. 2. Coloring algorithms Every dynamical system produces a sequence of values Zo, Z.. ~... Zo. Fractal images are created by producing one of these sequences for each pixel in the image; the coloring algorithm is what interprets this sequence to produce a final color.

90 Javier Barrallo and Santiago Sanchez Typically, the coloring algorithm produces a single value for each pixel. Since color is a tbreedimensional space, this one-dimensional value must be expanded to produce a color image. The common method is to create a palette, a sequence of 3D color values; these are connected end-to-end and the coloring algorithm value is then used as a position along this multi-segmented line (the gradient). If the last palette color is connected to the first, a closed, segmented loop is formed and any real value from the coloring algorithm can be mapped to a defined color in the gradient. Gradients are normally linearly interpolated in RGB space (Red,Green, Blue), but they can also be interpolated in HSL space (Hue, Saturation, Lightness) and interpolated with spline curves instead of straight line segments. The selection of the gradient is one of the most critical artistic choices in creating a good fractal image. Color selection can emphasize one part of a fractal image while de-emphasizing others. In extreme cases, two images with the same fractal parameters, but different color schemes will appear totally different. Some coloring algorithms produce discrete values, while some produce continuous values. Discrete values will produce visible stepping when used as a gradient position; until recently this was not terribly important, as the restriction of 8-bit color displays introduced an element of color stepping in gradients anyway, and discrete coloring values were mapped to corresponding discrete color in the gradient. With the introduction of inexpensive 24-bit displays, algorithms which produce continuous values are becoming more important, as this permits interpolating along the color gradient to any color precision desired. 3. Fractal types There are many different fractal types which are not covered when explaining coloring algorithms because they are either not common in fractal explorations or because they are not present in the popular fractal software packages. But basically, we can classify fractal types in six main groups: a) Fractals derived from standard geometry by using iterative transformations on an initial common figure like a straight line (the Cantor dust or the von Koch curve), a triangle (the Sierpinski triangle), or a cube (the Menger sponge). The first fractal figures invented near the end of the 19th and early 20th centuries belong to this group.. b) IPS (Iterated Function Systems). This. is a type of fractal introduced by Michael Barnsley. The structure of these fractals is described by a set of affine (linear) functions that compute the transformations undergone by each point by homothety, translation, and rotation. The functions introduced into the system are selected randomly, but the final set is fixed and shows fractal structure. c) Strange attractors. These sets can be considered as the representation of a chaotic movement (in no place and no time identical). These attractors are very complex and composed by a line of infinite length drawing tightly intertwined loops that never crosses its own trajectory. d) Plasma fractals. Created with techniques like the fractional Brownian motion (fbm) or the midpoint displacement algorithm, these fractal type produce beautiful textures with fractal structure, like clouds, fire, stone, wood, etc. widely used in CAD programs. Skilled fractal artists love plasma to create textures or backgrounds in their images.

Fractals and Multi-Layer Coloring Algorithms 91 e) L-Systems, also called Lindenmayer systems, were not invented to create fractals but to model cellular growth and interactions. A L-System is a formal grammar that recursively applies its rules to an initial set. As a result, sometimes, a fractal structure is created. f) Fractals created by the iteration of complex polynomials: perhaps the most famous fractals (Julia, Mandelbrot... ). Only this group of fractals has been widely experimented with different coloring algorithms by the fractal art community. Many fractals sets can be considered subgroups from this types, for example fractal terrains are a three dimensional representation of a plasma fractal. Fractal music is the sonic representation of a chaotic attractor movement. Other fractals, like quatemionic or (recently) hypemionic fractals may be considered as an extension to higher dimensions of polynomial fractals iterated in the complex plane. 4. Fractal types and coloring algorithms With the increasing significance of coloring algorithms it is surprising that there has been no attempt to use the variety of algorithms that are popping up with many of the fractals types described before. This paper may be considered as an initial attempt to combine the most important fractal types with different coloring algorithms. I The first step is the migration of fractal types a) - e) towards the last one f). This is because complex variable supports all the coloring algorithms and can work with all the fractal types applying minor transformations. Basically it is necessary the edition of the formulas to substitute the real variables corresponding to the X and Y axis with a single complex variable and to prepare the initial conditions under the formulas should be iterated. Then, the values used by the fractal types a) - e) are mapped into a discrete field of NxM pixels whose values are assigned to a complex variable which can be easily iterated. As an example, figures 1-6 show fractal types a) - f) as they are usually computed. Figures 7-12 show the same fractal types artistically interpreted using different coloring algorithms. 4. Multi layer fractals A more significant technique involves combining techniques. We call these multi layer fractals, and they are the source of some of the richest fractal imagery being produced today. In this way, even a limited collection of fractal coloring algorithms can be combined in almost endless ways, with each combination becoming in effect an entirely new algorithm. Figures 13-15 shows the three layers of the picture "The eyes of the beholders" using different algorithms, meanwhile figure 16 shows the final picture with the previous three layers merged together References [1] J. Barrallo, Fractal Geometry. 2nd Edition. Ed. Anaya Multimedia. Madrid 1992. [2] 1. Barrallo & D. M. Jones, Coloring algorithms for dynamical systems in the complex plane, ISAMA 99 Proceedings, pp. 31-38. The University of the Basque Country, 1999.

92 Javier Barrallo and Santiago Sanchez Figures 1 6: Fractal types represented in the standard way without coloring algorithms. From top left to bottom down: a) Classicfracta~ b) IFS, c) Strange attractor, d) Plasma fractal, e) L-Systemf) Complex polynomial.

Fractals and Multi-Layer Coloring Algorithms 93 Figures ' 12: The samefractalformulas and parameters offigures 1-6 are repeated here, but this time complex variable and coloring algorithms have been used for their calculation.

94 Javier Barrallo and Santiago Sanchez Figures 13-16: "The eyes of the beholders". The picture is composed by three different images (top) using the same formula and parameters but different color algorithms. The final image is the result of the superposition of the layers containing the three previous images. This kind of image is known as multi layer fractal.