Chance operations & probability theory

From GenerativeArt

(Difference between revisions)
Jump to: navigation, search
(Statistical Distributions)
(Pragmatic notes on using random numbers in art)
In this example the intent is to suggest a large circle by populating a 1 unit radius with small circles. Using the programming environment Matlab pairs of random numbers from -1 to 1 ar generated and then tested. Those with a distance from the center (0,0) greater than 1 are rejected. The remaining (x,y) pairs are plotted as small blue circles.
In this example the intent is to suggest a large circle by populating a 1 unit radius with small circles. Using the programming environment Matlab pairs of random numbers from -1 to 1 ar generated and then tested. Those with a distance from the center (0,0) greater than 1 are rejected. The remaining (x,y) pairs are plotted as small blue circles.
 +
 +
While a large circle is formed, the smaller circles tend to clump up
 +
as is typical when using small quantities of random numbers.
 +
 +
x
 +
 +
 +
Here are the same points adjusted via software to reduce clumping.
 +
 +
 +
x
 +
 +
The de-clumping algorithm works by first analyzing each center point and finding the nearest neighbors.
 +
 +
 +
x
 +
The distances between nearest neighbors are then iteratively adjusted. Points that
 +
are "too close" are moved a bit apart, and others "too far apart" are moved closer together.
 +
This is repeated a number of times until a balance is achieved. Note the flaws
 +
and irregularities that make the image more interesting than the result of a
 +
tiling algorithm which would enforce strict symmetries and measurements.
== Links ==
== Links ==

Revision as of 03:35, 28 September 2009

Personal tools