Magic Fractals



  1. Fractals Magic The Gathering
  2. Science Vs Magic Fractals
  3. Chaos Magic Fractals

Apr 02, 2021 Quandrix students like to say that 'math is magic,' and in gameplay terms, this school likes to use the new ward ability, make 0/0 Fractal creature tokens, distribute +1/+1 counters and put a lot of lands onto the battlefield. Fractal 3D Magic, 3D anaglyphs. 'I conceived, developed and applied in many areas a new geometry of nature, which finds order in chaotic shapes and processes.

Three basic concepts are key to producing all types of fractals: iteration, formulas, and orbits. In this essay, we’ll explore what these mean and how they work to produce fractals. But first we make an observation and define two important terms.

The observation: Fractals are infinite. Computers are finite. So any image we create using a fractal program can only be an approximation of the underlying fractal.

This leads to the first term: Render. To render a fractal simply means to create an image of the fractal. This simple definition belies the complexity of the process and the artistic decisions associated with rendering, but elaborating on those details will need to wait for another post. For our purposes here, rendering is the magic that takes all of the options we’ve selected in our fractal program (the formulas, colors, location, etc.) and turns them into a picture.

The second important term: Parameters; params for short. These are the options we’ve selected in our fractal program in a textual form that we can save in a file or copy/paste to a social media site to share with others. They aren’t much to look at, but they describe the infinite fractal and can be reloaded and re-rendered. More importantly, they can be used as a starting point to make new fractals by loading them and changing the options.

Iteration simply means repeating something over and over, and is the way all fractals are defined. For example, consider the procedure described by Swedish mathematician Niels Fabian Helge von Koch in 1904 for creating a fractal known as the “Koch snowflake”:

Step 0. Start with an equilateral triangle.

Step 1. Do the following for each of the three lines in the triangle:

a. Divide the line into three equal segments.

Magic

b. Replace the middle segment with an equilateral triangle that points outward and has that segment as its base.

c. Remove the middle segment.

Step 2. Repeat steps a-c for each of the 12 smaller lines of the resulting figure.

Step 3. Repeat steps a-c for each of the 48 lines of the resulting figure.

Fractals

Fractals Magic The Gathering

Step n. Repeat steps a-c for each of the 3×4^(n−1) lines of the resulting figure.

The figure shows the results of steps 0 through 4. As this scale, we can barely see the added details of step 4, and they are completely lost at higher steps. So we can stop our finite approximation there. But the fractal itself is infinite. Details of later steps would be visible if we were to zoom in to a part of the fractal and iterate enough times. In fact, the boundary of the infinite snowflake would look exactly the same no matter how far we zoom in, taking rotation and shifting into account. This self similarity is a hallmark of fractals.Another interesting property of this and many other fractals is that the boundary is infinitely long, but it encloses a finite area.

Although iterating geometric constructions is an interesting way to make fractals, most fractal art programs work by iterating formulas, also known as functions, transforms, and mappings. In general, we’ll use these terms interchangably. The formulas used to make fractals always map a point to another point. Iteration is done by repeating the formula, mapping the second point to a third point, and the third point to a fourth point, and so on.

To understand this concept, let’s start with one dimensional points, which are just numbers, and use a calculator with the function key (for the Windows calculator we need to use Scientific mode). It just squares a number by multiplying it by itself. We pick a number to start, then repeatedly push (that’s iteration) and look at the sequence that results, called the orbit of the starting value. The following table shows a few sample orbits:

Starting ValueOrbit
00, 0, 0, 0, …
0.50.25, 0.0625, 0.00390625, 0.0000152587890625, …
0.750.5625, 0.31640625, 0.1001129150390625, …
11, 1, 1, 1, …
1.52.25, 5.0625, 25.62890625, 656.8408355712890625, …
24, 16, 256, 65536, …
10100, 10000, 100000000, 10000000000000000,…

Orbits are always infinite, and are generally different for each starting value. The orbits here have some interesting properties.

  • The orbits for 0 and 1 repeat that value indefinitely.
  • Orbits for values between 0 and 1 get closer and closer to 0 (but never quite reach it).
  • Orbits for values greater than 1 get very large very quickly; they approach ∞.
  • Orbits for values less than 0 aren’t shown in the table, but they are the same as their positive counterparts. For example, the orbit for -1 is 1, 1, 1, …, just like 1.

To make fractals, we need more interesting formulas. We also use points in two or three dimensions since one dimensional fractals are rather boring visually. It is these fractal formulas that we will explore in the Fractal Formulas blog.

There are a number of formats used to express formulas; we’ll use for examples of the most common ones. The first is the mathematical function notation:

This is pronounced “f of x equals x squared”. Different letters can be used, especially when discussing multiple functions. For example, is exactly the same function.

The next notation makes the iteration more clear by using a subscript to indicate the orbit sequence: is the starting value, is the first orbit point, the second, the nth orbit point, and so forth:

This is pronounced “x sub n equals x sub n minus 1 squared”. It expresses the next orbit point in terms of the previous one. It is especially useful for the occasional formulas that depend on several previous orbit points (for example, and ). This notation is also sometimes written in a slightly different format that means the same thing: .

Another notation occasionally seen is the following:

This is pronounced “x maps to x squared”, and emphasizes the mapping aspect of the formula.

We will mention one final formula notation since it can be confusing:

This is a computer programming notation; the ‘=’ is the assignment operator, so this would be pronounced “x is assigned x squared”. Taken out of context, it can be mistaken for an algebraic equation where you need to find the value of x that makes the equation true. It would actually more likely be written as “x = x ^ 2” since programming languages don’t have italics or superscripts, and the surrounding code would make it clear that this is part of a program.

So orbits come from iterating formulas. Let’s see how they can be used to create fractals. One way is to use the orbit as the fractal itself; these are called orbital fractals. This isn’t really meaningful if every starting point has a completely different orbit (like ), but some formulas have an “attractor”. Like the name implies, the formula attracts nearby points; their orbits eventually join the attractor. So any starting point will produce the the same orbit after a few iterations (we just throw them away). For example, the following figure shows the orbit of a function discovered by Peter de Jong.

A more popular type of orbital fractal is the flame fractal, which uses several functions (usually called tranformations or transforms in flame fractal software). For each iteration, one of the functions is chosen randomly, so the precise orbit is unpredictable, but when iterated many thousands of times the randomness averages out and a consistent fractal is generated. The following flame fractal uses three transforms to generate a fractal snowflake.

Science Vs Magic Fractals

Another common way to use orbits to create fractals is to separate points into two sets, depending on whether their orbits stay within some boundary or go off to infinity. For example, with our earlier example f(x)=x^2, points between -1 and 1 have bounded orbits and other points have orbits whose values get larger and larger without limit. We call the points with bounded orbits inside points because they belong to the “filled-in Julia set” of the formula, after French mathematician Gaston Julia. (The filled-in Julia set is often just called the Julia set for convenience, though technically the Julia set is the boundary of the filled-in Julia set.) Conversely, the points whose orbits are not bounded are called outside points.

When rendering this kind of fractal, we need to set some boundaries to keep the orbits finite. We need two of them:

  • An escape condition for the orbit, such as a maximum distance from the origin. This is also called a bailout condition. If the escape condition is reached while computing the orbit of a point, we assume the orbit is unbounded so the point is outside.
  • A maximum orbit length or maximum iterations. If the escape condition is not reached before the orbit reaches its maximum length, we assume the orbit is bounded so the point is inside.

Color is not part of the mathematical definition of a fractal, but we often want to add some color (or at least shades of gray) to make the pictures more interesting. One way to do this is to base the color on the length of the orbit before the escape condition is reached, called the “escape time”, giving these fractals the name escape time fractal. This method is useful because outside points that are close to the fractal take longer to escape than points that are further away.

Magic Fractals

In the following fractal, the inside is black and the outside is colored by the escape time, with points closer to the inside darker and points further away lighter.

Here is another escape time fractal known as a “Ducky” (I don’t know where that name came from). The formula is very different from the last one; it has an inherent symmetry that is repeated at different levels and orientations as it is iterated, producing complex but symmetrical patterns. This one doesn’t have inside and outside points (all the points are “inside”), and coloring is based on statistics of the orbit points.

Three dimensional fractals work much the same as two dimensional ones: we iterate a formula using three dimensional points. The result is projected to two dimensions for display or printing by pointing a virtual camera at the fractal. For three dimensional orbital fractals, that’s all there is to it. Here is a simple three dimensional flame fractal that resembles a flower; you can see how the iterated function makes the petals smaller and smaller:

Escape time fractals are quite different in three dimensions. Outside points need to remain transparent; we wouldn’t be able to see anything if they were colored according to their escape time (consider what the world would be like if air was opaque). What we really want to see is the surface of the fractal, where inside meets outside. The usual method for rendering these fractals is called ray marching. Without going into a lot of detail, ray marching shoots a ray from each camera pixel toward the fractal to see how far away it is. Since points closer to the fractal have a higher escape time, the distance to the fractal can be estimated, which is used to march the ray closer until it reaches the fractal surface and the point can be colored. Lighting techniques from 3D modeling tools are used to give the fractal a 3D appearance.

Magic fractals

Here is a fractal made using this method:

There are other methods for making fractals, but these are the ones most commonly used by fractal artists. Hopefully this provides some background that will be helpful as we explore Fractal Formulas.

(12)
Version: 3.7
Get notified when this app is on sale or goes free [privacy policy]

Price History

Ranking - Games (iPhone)

Ranking - Games (iPad)

Chaos Magic Fractals

Magic
Screenshot #1 (iPhone)
--- Please note! ---
This app is doing some heavy mathematical calculations in the
background which leads to high energy consumption on your mobile device when you're
in the fractal mode. When you using the shapes, energy consumption is moderate.
--- What Are Fractals? ---
Did you ever hear about fractals?
Basically fractals are calculated out of particular mathematical formulas. You can
change the mathematical formula variables to achieve different visual results and create incredible beautiful pieces of art. This app has a collection of beautiful fractals which are
controlled by using a formula in the backend. You can swipe on the screen to increase
or decrease the fractal parameters of your choice to control the shape of your fractal.
--- Realtime rendering of 3D fractals and shapes ---
This app is a realtime 3D rendering software which allows you to discover the beauty of
some of those psychedelic looking geometries. The thing about geometric animations
controlled by the user is that it offers you a sense of control over the situation so you
tend to feel calmer and more relaxes.
--- Relaxing Background music ---
Indulge into a unique combination of adjustable fractals and soothing background
music. You can also try different color effects on fractals and try shapes like sphere,
rectangle, polymorphs and more in this amazing anti-stress game.
Are you retaining stress more than usual? Will you like to unwind and unclench on the
cues of a relaxing exterior stimulus? How about watching fractals and shapes change
their forms on your cues? The new fractals and shapes app enables you to view
realitme 3D fractals and shapes. The relaxation is completely based on geometry and
fractal mathematics.
Try Fractals and Shapes today!
Calm down and enjoy creating realtime 3D fractals. Get a cup of tea, relax and start
discovering. You can choose between:
- 4 different fractal variations (Kaleidoscopic IFS 1, Kaleidoscopic IFS 2, Kaleidoscopic
IFS 3, Kaleidoscopic IFS 4)
- a lot of different textures / colors for your fractal
- Adjust different parameters to change the form of your fractal
- video recording and screenshot feature
--- Features of Fractals and Shapes ---
- Simple and easy fractals and shapes relaxing app UI/UX
- Appealing app layout, clean design and stunning impressions
- Play with fractals and shapes simply by swiping on the screen
- Orient the fractals and shapes in different axis to get different results
- Try out new textures and designs on shapes and fractals for more fun
- Relaxing background music and interactive sound effects
- Effective anti stress app for youngsters and adults alike
- Option to render your own shapes/fractals and feel relaxed
- Save and load your own configurations
- video recording and screenshot feature
So, what are you waiting for? Download and use Fractals and Shapes today!
This is new:
- Added option to choose a custom background image
Pro hint: try the radial image mode!
Thanks a lot for using Fractals & Shapes 3D.
Do you have ideas for improvements or new features? Please send me a message using info@mkgames.org
If you like the app, you would really help me with leaving a review - thanks a lot!
- Best regards Marvin
Our verdict: Good
  • + Magic Fractals & Shapes 3D is a highly rated app (4.5-star).
  • + Magic Fractals & Shapes 3D is currently ranked #436 in paid Games apps for iPad.