Blue Wash
From Math Images
| Blue Wash |
|---|
Blue Wash
- This image is a random fractal that is created by continually dividing a rectangle into two parts and adjusting the brightness of each resulting part.
Contents |
Basic Description
This image is considered a random fractal, because the behavior and coloring of this image is determined randomly. The basic rule governing a fractal of this kind:
- 1. Take a rectangle
- 2. Divide the rectangle into two sub-rectangles at a random location
- 3. Adjust the brightnesses of each sub-rectangles by a random factor
- 4. Repeat for all current sub-rectangles (now considered "rectangles") in the image
Two Methods
The artist actually experimented with at least two methods to create images similar to the random fractal above that differed on how the brightness was adjusted in each split rectangle.
- The first (Basic) method involves simply increasing the brightness of one sub-rectangle and decreasing the brightness of the other sub-rectangle of a split rectangle by a random variable. This method was used to create the fractal featured at the top of this page.
- The second (Inclined) method involves adjusting the brightness of the two sub-rectangles gradually to make an inclined plane in brightness within each sub-rectangle. The brightness of the line where the rectangle is split is determined randomly, and the two resulting sub-rectangles then each form an increasing or decreasing plane in brightness to meet the brightness of the dividing line. If you compare the featured image at the top of the page (created by the first method) to the image on the right (created by this second method), you can see that this method results in a more "painterly" effect.
An interesting observation about the creation of these fractals is that with each iteration, the change in brightness and spatial aspects (splitting the rectangles) of the fractals become smaller and smaller and their influence on the images gradually diminishes. Thus, after a number of iterations, the fractals barely change in appearance. Please take a look at the applets below to test this observation.
Origins of this Fractal
The artist who created this fractal, Paul Cockshott, is a computer scientist and a reader at the University of Glasgow. The various math images featured on this page emerged from his scientific research in stereo range finding, which is a method used to estimate distance and depth from two images (one from the right perspective and one from the left). Cockshott initially used Gaussian patterns for this project, but found that fractal patterns worked better...and were also more beautiful. Click here to learn more.
A More Mathematical Explanation
- Note: understanding of this explanation requires: *Statistics, Calculus
Basic Recursive Method
The featured image at the top of this page was created using the basic recursive method that will be described in this section. The canvas begins with rectangles of various sizes and colors, each of which undergo this basic recursive method.
- Each rectangle is split into sub-rectangles (
and
) by a random horizontal or vertical line (
).
- The random offset value used to decrease or increase the brightness level of each rectangle is determined randomly, but the mean of the probability density function of the random offset value is proportional to the square root of the area of each sub-rectangle. Algebraically,
- If a sub-rectangle has sides length
and width
,
- And the mean of the probability density function
of the random offset value (X) is
,
- Then
- If a sub-rectangle has sides length
- The random offset value is then added to the brightness level of sub-rectangle
and subtracted from the brightness level of sub-rectangle
brightness to produce the next progression of the recursion method. The random value is designated such that, on average, the smaller sub-rectangle will have a smaller brightness offset than larger sub-rectangle. This method is repeated continuously to create a random fractal.
Inclined Recursive Method - a more painterly effect
In this method, each rectangle is again split into two sub-rectangles by random dividing line
. However, instead of using a random offset value to directly increase or decrease the brightness of the two sub-rectangles, there is an inclined change in brightness. The random variable used in this procedure has a probability density function with:
- a mean of
- a mean of
- a standard deviation of
, where k is a constant.
- a standard deviation of
The brightness of the dividing line itself is increased or decreased by the random variable, and the sub-rectangles
and
then form inclined plans in brightness that gradually increase or decrease to match the brightness of the dividing line. Similar to the basic method, the random variable is picked such that, on average, the smaller rectangles will have a smaller brightness offset than rectangles.
References
Paul Cockshott, Paul Cockshott
Future Directions for this Page
- An applet letting users pick a few starting colors to start the random fractal and watch it produce an image, or even let them change k.
Leave a message on the discussion page by clicking the 'discussion' tab at the top of this image page.



