# Edit Edit an Image Page: Blue Wash

Jump to: navigation, search

You have to log in to edit pages.

To create an image page, simply complete the form below and then hit the 'Save Page' button at the bottom of the form. As you complete the form, remember that one of the main goals of the Math Images Project is to provide explanations of the images on our site at various levels, so that everyone can understand some of the math behind the images. Try to complete the form as fully as possible, but remember that other users will have the opportunity to add more information to your image pages in the future. Also, please note that by contributing to the Math Images Project, you agree to comply to the guidelines as stated in our general disclaimer.

As always, thank you for your contributions! --The Math Images Project

If you need help filling out this page, please consult our Help sections: Want to Contribute and Math Resources.

Note: * Indicates a required field.

Please note: When you are filling in the below explanations, you should feel free to use standard wikitext.

 Image Title*: Upload a Math Image 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. This image is considered a random [[Field:Fractals|fractal]], because the behavior and coloring of this image is determined randomly. The basic rule governing a fractal of this kind: [[Image:MakingRandom.gif|left]] ::::::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=== [[Image:kBlueWash.jpg|thumb|200px|right|Inclined Brightness Method]] 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. {{SwitchPreview|ShowMessage=Click to show applet |HideMessage=Click to hide applet |PreviewText=|FullText=
}} ===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 [http://www.dcs.gla.ac.uk/%7Ewpc/Fractal_Art.htm here] to learn more. ==Basic Recursive Method== {{hide|1= 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. [[Image:BasicRectangle.png|right]] *Each rectangle is split into sub-rectangles ($a\,$ and $b\,$) by a random horizontal or vertical line ($\overline{PQ}\,$). *The random offset value used to decrease or increase the brightness level of each rectangle is determined randomly, but the mean of the [[Probability Distributions#Probability Density Function|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 $l\,$ and width $w\,$, ::And the mean of the probability density function $f(x)\,$ of the random offset value (''X'') is $E(X) = \int_{-\infty}^{\infty} x f(x) dx$, ::Then $\int_{-\infty}^{\infty} x f(x) dx \propto \sqrt{l * w}$ *The random offset value is then added to the brightness level of sub-rectangle $a\,$ and subtracted from the brightness level of sub-rectangle $b\,$ 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== {{hide|1= Image:fs_64_100.gif|Random Fractal created using the basic method Image:kBlueWash.jpg|Random Fractal with higher 'k Image:kYellowWash.jpg|Random Fractal with lower 'k' In this method, each rectangle is again split into two sub-rectangles by random dividing line $\overline{PQ}\,$. 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 $E(x)= 0\,$ ::*a standard deviation of $\sigma\approx k|\overline{PQ}|\,$, where ''k'' is a constant. The brightness of the dividing line itself is increased or decreased by the random variable, and the sub-rectangles $a\,$ and $b\,$ 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. Since ''k'' reflects the degree of randomness of the brightness of the color in each sub-rectangle, a higher ''k'' produces a more random fractal. The image on the above has a higher ''k'' constant than the image on the below. }} Algebra Analysis Calculus Dynamic Systems Fractals Geometry Graph Theory Number Theory Polyhedra Topology Other None Algebra Analysis Calculus Dynamic Systems Fractals Geometry Graph Theory Number Theory Polyhedra Topology Other None Algebra Analysis Calculus Dynamic Systems Fractals Geometry Graph Theory Number Theory Polyhedra Topology Other Paul Cockshott, [http://www.dcs.gla.ac.uk/~wpc/ Paul Cockshott] *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. Yes, it is.