Showing posts with label fractal. Show all posts
Showing posts with label fractal. Show all posts
Saturday, October 19, 2013
Thursday, June 4, 2009
Mandelbrot Büyük Adammış
Fractal setler arasında en sevdiğim Mandelbrot'dur. Wiki'ye sordum tam istediğim cevabı verdi. En anlaşılır biçimiyle Mandelbrot seti algoritması (pseudocode olarak)
Konuyu irdelemek için bağlantılar
http://en.wikipedia.org/wiki/Mandelbrot_set#
http://www.codeproject.com/KB/cpp/mandelbrot_obfuscation.aspx (c++ ile Mandelbrot seti)
http://local.wasp.uwa.edu.au/~pbourke/fractals/mandelbrot/ (The Mandelbrot At A Glance)
http://snippets.dzone.com/tag/mandelbrot
For each pixel on the screen do
{
x = x0 = x co-ordinate of pixel
y = y0 = y co-ordinate of pixel
iteration = 0
max_iteration = 1000
while ( xx + yy = (22) AND iteration max_iteration )
{
xtemp = xx - yy + x0
y = 2xy + y0
x = xtemp
iteration = iteration + 1
}
if ( iteration == max_iteration )
then
color = black
else
color = iteration
plot(x0,y0,color)
}
Konuyu irdelemek için bağlantılar
http://en.wikipedia.org/wiki/Mandelbrot_set#
http://www.codeproject.com/KB/cpp/mandelbrot_obfuscation.aspx (c++ ile Mandelbrot seti)
http://local.wasp.uwa.edu.au/~pbourke/fractals/mandelbrot/ (The Mandelbrot At A Glance)
http://snippets.dzone.com/tag/mandelbrot
Subscribe to:
Posts (Atom)



