Gravity set

The Mitchell-Green gravity set (MGGS) (a fractal) was created by Fred Mitchell and Chris Green in 1992.

The gravity set is a set of points in the plane. Like the Mandelbrot set, the gravity set is defined as follows: a certain mapping f from the plane into itself is considered. If x0 is any point, if the sequence defined recursively by xn+1 = f(xn) does not diverge to infinity, then x0 is a member of the gravity set; otherwise it is not. The difference between the gravity set and the Mandelbrot set is that the mapping f is different.

In computations, one assigns colors to points according to the rate at which the aforementioned recursively defined sequence appears to converge. The production of the gravity set follows along the same lines of color assignment to points based on the number of iterations it takes for the points to escape the system. One uses the basic formula for gravitation and simple Eulerian integration as described below. Unlike the Mandelbrot set, the plane uses the cartesian coordinate system and thus it is not complex.

The conditions that are considered "escape" is arbitrarily defined, and in most of the maps presented here the escape condition is taken to be a chosen distance from the center of the coordinate system (or center of mass).

The points are iterated through a gravitational system of fixed masses placed in an arbitrary arrangement, and given arbitrary masses. It is interesting to note that the pattern of the arrangement of the fixed masses are found repeated in distorted fashion at all scales of magnification for many of the maps.

Negative masses are also allowed to be specified, and some of the maps generated have combinations of negative and positive masses.

image:Tn_mggs_grav_creature_05.pngImage:Fireflies-17-small-overview-thumb.pngimage:Tn_mggs_grav_creature_11.pngMissing image
Tn_mggs_random_mixed_06_medium.png
image:tn_mggs_random_mixed_06_medium.png

Missing image
Totem-ring-17-blue-gold-center-negativex10-02-thumb.png
Image:Totem-ring-17-blue-gold-center-negativex10-02-thumb.png

Go to The Gallery (http://fred.mitchellware.com/fractals/gallery.html) to see more examples.

Chris Green originated the idea in 1992 at Commodore Amiga. Green and Mitchell were two of the three graphics software engineers at that company. Green initially implemented the gravity set in Forth. Those initial images were a bit crude, but showed great promise, which spurred Fred Mitchell on to re-implement it with a dedicated program -- written in C on the Amiga, with a GUI front end -- so that he could explore this phenomenon more closely.

Mitchell discovered the incredible richness in the gravity set by manipulating the many parameters involved. Some of these maps can be seen at Fred's Fractal Laboratory (http://fred.mitchellware.com/fractals/index.html).


<math> \mathbf{a}_i = - \sum \frac {Gm_i}{{|\mathbf{r}_i|}^2} \hat{\mathbf{r}}_i <math> where <math>\mathbf{r}_i = \mathbf{s}_n - \mathbf{b}_i <math>
<math>\mathbf{v}_{n+1} = \mathbf{v}_n + \mathbf{a} \Delta t <math>
<math>\mathbf{s}_{n+1} = \mathbf{s}_n + \mathbf{v}_{n+1} \Delta t <math>

where:

b is the position of a Newtonian mass m
G is the gravitational constant
s is the position of a moving particle of negligible mass
a is its acceleration vector
v is its velocity vector
Δt is the calculation time step

This is a discussion of the algorithm to generate the gravity set and the MGGS software used to do it. The techniques used here are similar to those used for generating the Mandelbrot set. The iterative formula is given below. Simple Eulerian integration is used to determine the orbit of the particles. When a preset distance from the center of mass is reached, the number of iterations taken to get there is assigned a color value. The initial state of the particle is determined by its position (which is mapped by the screen), its velocity, which is usually zero (except in the Waterfall map).

In this discussion, the placed point fixed masses are referred to as "stars". "Maps" are the images produced by MGGS -- they are indeed "color maps" of the results of the iterative process.

Given a particle of negligible mass in placed initially at a coordinate in the "star system", the gravitational forces -- or rather, the acceleration due to those forces -- contributed by each star in the system is computed and summed using the gravitational formula.

Using a simple Eulerian integration process, the velocity of that particle is determined. A second integration step yields the particle's new position.

This three-step process is counted as one iteration. These steps are then repeated using the position of the prior iteration.

At the end of each iteration, the distance from the center of the coordinate system is checked. If it is over a certain limit, then the iterative process is ceased for that particle, and a color is assigned to the number of iterations it took to get the particle there. If the particle does not hit that limit before a preset maximum number of iterations are reached, the iteration is halted anyway.

The size of the time step Δt is extremely important to this iterative process, and its setting strongly affects the form of the maps. Experimentation with the delta time setting has shown the most interesting maps appear at around Δt = 2 to 7. When Δt is smaller than 1, the integration process produces more accurate results, but the product also tends to be a noisy "speckled" map that takes a long time to render. It is clear that the error involved in the integration process plays a prominent role in the results.

In some of the maps, particularly Sunrise and Pinwheel, the Gravitational Constant is set to a negative value. This would be analogous to negative gravity or electric fields. Also note that in most of the maps presented here, the gravitational bodies are arranged in a hexagon at a count of six equal masses. MGGS under Linux also allows for other arrangements of the masses, such as "spoke", "linear", and "random". There is also a custom setting where the masses can be arbitrarily placed. Moreover the position and mass of each individual star may be set manually, and negative masses for stars are allowed. Having a star system of mixed positive and negative masses have indeed produced some of the most interesting maps, such as the illustration to the right.

Zooming in on the gravity set maps reveal an fetching panoply of twists and distortions of structures at higher levels. Particularly, you can see the patterned arrangement of the stars twisted in many interesting ways. There is a self-similarity aspect, but these are not "fractals" in the strictest sense as defined by Mandelbrot. But there are some maps which would appear to pass as "fractals" under the strict definition. The varieties of the maps are endless, and is more interesting to the author than the Mandelbrot and Julia sets.

Why do these structures repeat themselves in distorted fashion at smaller scales? The reasons are not fully understood, but a possible clue is that the number of iterations it takes to eject a particle from the system is very sensitive to the initial placement of the particle and the Δt setting. The error that is compounded will affect how close particles come to a star, and the closer the particle approaches a star of positive mass, the more likely it will be ejected from the system since close proximity imparts a higher velocity on the particle.

Navigation

  • Art and Cultures
    • Art (https://academickids.com/encyclopedia/index.php/Art)
    • Architecture (https://academickids.com/encyclopedia/index.php/Architecture)
    • Cultures (https://www.academickids.com/encyclopedia/index.php/Cultures)
    • Music (https://www.academickids.com/encyclopedia/index.php/Music)
    • Musical Instruments (http://academickids.com/encyclopedia/index.php/List_of_musical_instruments)
  • Biographies (http://www.academickids.com/encyclopedia/index.php/Biographies)
  • Clipart (http://www.academickids.com/encyclopedia/index.php/Clipart)
  • Geography (http://www.academickids.com/encyclopedia/index.php/Geography)
    • Countries of the World (http://www.academickids.com/encyclopedia/index.php/Countries)
    • Maps (http://www.academickids.com/encyclopedia/index.php/Maps)
    • Flags (http://www.academickids.com/encyclopedia/index.php/Flags)
    • Continents (http://www.academickids.com/encyclopedia/index.php/Continents)
  • History (http://www.academickids.com/encyclopedia/index.php/History)
    • Ancient Civilizations (http://www.academickids.com/encyclopedia/index.php/Ancient_Civilizations)
    • Industrial Revolution (http://www.academickids.com/encyclopedia/index.php/Industrial_Revolution)
    • Middle Ages (http://www.academickids.com/encyclopedia/index.php/Middle_Ages)
    • Prehistory (http://www.academickids.com/encyclopedia/index.php/Prehistory)
    • Renaissance (http://www.academickids.com/encyclopedia/index.php/Renaissance)
    • Timelines (http://www.academickids.com/encyclopedia/index.php/Timelines)
    • United States (http://www.academickids.com/encyclopedia/index.php/United_States)
    • Wars (http://www.academickids.com/encyclopedia/index.php/Wars)
    • World History (http://www.academickids.com/encyclopedia/index.php/History_of_the_world)
  • Human Body (http://www.academickids.com/encyclopedia/index.php/Human_Body)
  • Mathematics (http://www.academickids.com/encyclopedia/index.php/Mathematics)
  • Reference (http://www.academickids.com/encyclopedia/index.php/Reference)
  • Science (http://www.academickids.com/encyclopedia/index.php/Science)
    • Animals (http://www.academickids.com/encyclopedia/index.php/Animals)
    • Aviation (http://www.academickids.com/encyclopedia/index.php/Aviation)
    • Dinosaurs (http://www.academickids.com/encyclopedia/index.php/Dinosaurs)
    • Earth (http://www.academickids.com/encyclopedia/index.php/Earth)
    • Inventions (http://www.academickids.com/encyclopedia/index.php/Inventions)
    • Physical Science (http://www.academickids.com/encyclopedia/index.php/Physical_Science)
    • Plants (http://www.academickids.com/encyclopedia/index.php/Plants)
    • Scientists (http://www.academickids.com/encyclopedia/index.php/Scientists)
  • Social Studies (http://www.academickids.com/encyclopedia/index.php/Social_Studies)
    • Anthropology (http://www.academickids.com/encyclopedia/index.php/Anthropology)
    • Economics (http://www.academickids.com/encyclopedia/index.php/Economics)
    • Government (http://www.academickids.com/encyclopedia/index.php/Government)
    • Religion (http://www.academickids.com/encyclopedia/index.php/Religion)
    • Holidays (http://www.academickids.com/encyclopedia/index.php/Holidays)
  • Space and Astronomy
    • Solar System (http://www.academickids.com/encyclopedia/index.php/Solar_System)
    • Planets (http://www.academickids.com/encyclopedia/index.php/Planets)
  • Sports (http://www.academickids.com/encyclopedia/index.php/Sports)
  • Timelines (http://www.academickids.com/encyclopedia/index.php/Timelines)
  • Weather (http://www.academickids.com/encyclopedia/index.php/Weather)
  • US States (http://www.academickids.com/encyclopedia/index.php/US_States)

Information

  • Home Page (http://academickids.com/encyclopedia/index.php)
  • Contact Us (http://www.academickids.com/encyclopedia/index.php/Contactus)

  • Clip Art (http://classroomclipart.com)
Toolbox
Personal tools