<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2130851400636132308</id><updated>2011-04-21T14:47:11.578-07:00</updated><title type='text'>Fractals with R</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://fractalswithr.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2130851400636132308/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://fractalswithr.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Atte Tenkanen</name><uri>http://www.blogger.com/profile/15293915837170678092</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>17</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2130851400636132308.post-3281038892966819657</id><published>2011-04-11T14:58:00.000-07:00</published><updated>2011-04-11T15:04:45.179-07:00</updated><title type='text'>Some random fractals</title><content type='html'>I attached a few random fractals to improvisation videos. For that, I chose fractal plots that remind of astronomical images:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.youtube.com/watch?v=H9bqspaQ84g&amp;amp;feature=related"&gt;http://www.youtube.com/watch?v=H9bqspaQ84g&amp;amp;feature=related&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.youtube.com/watch?v=YYKLfx7e7tU&amp;amp;NR=1"&gt;http://www.youtube.com/watch?v=YYKLfx7e7tU&amp;amp;NR=1&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2130851400636132308-3281038892966819657?l=fractalswithr.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fractalswithr.blogspot.com/feeds/3281038892966819657/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2130851400636132308&amp;postID=3281038892966819657' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2130851400636132308/posts/default/3281038892966819657'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2130851400636132308/posts/default/3281038892966819657'/><link rel='alternate' type='text/html' href='http://fractalswithr.blogspot.com/2011/04/some-random-fractals.html' title='Some random fractals'/><author><name>Atte Tenkanen</name><uri>http://www.blogger.com/profile/15293915837170678092</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2130851400636132308.post-6724101890408991650</id><published>2007-11-22T03:12:00.000-08:00</published><updated>2007-11-23T03:40:31.419-08:00</updated><title type='text'>Wallpaper attractor</title><content type='html'>&lt;span style="font-family:'PrimaSans BT,Verdana,sans-serif';"&gt;Hello,&lt;br /&gt;&lt;br /&gt;Here is again a nice code &lt;/span&gt;&lt;span style="font-family:courier new;"&gt;from Bernardo Rangel Tura.&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: courier new; font-weight: bold;font-family:'PrimaSans BT,Verdana,sans-serif';" &gt;#&lt;br /&gt;# Wallpaper&lt;br /&gt;#&lt;br /&gt;#xn+1 = yn - sign(xn) | b xn - c |1/2&lt;br /&gt;#yn+1 = a - xn&lt;br /&gt;#&lt;br /&gt;# a=1&lt;br /&gt;# b=4&lt;br /&gt;# c=60&lt;br /&gt;&lt;br /&gt;wallpaper&lt;-function(n=4E4,x0=1,y0=1,a=1,b=4,c=60){&lt;br /&gt;x&lt;-c(x0,rep(NA,n-1))&lt;br /&gt;y&lt;-c(y0,rep(NA,n-1))&lt;br /&gt;cor&lt;-rep(0,n)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;for (i in 2:n){&lt;br /&gt;&lt;br /&gt;x[i] = y[i-1] - sign(x[i-1])*sqrt(abs( b*x[i-1] - c) )&lt;br /&gt;y[i] = a - x[i-1]&lt;br /&gt;cor[i]&lt;-round(sqrt((x[i]-x[i-1])^2+(y[i]-y[i-1])^2),0)&lt;br /&gt;}&lt;br /&gt;n.c&lt;-length(unique(cor))&lt;br /&gt;cores&lt;-heat.colors(n.c)&lt;br /&gt;&lt;br /&gt;plot(x,y,pch=".",col=cores[cor])&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;wallpaper()&lt;/span&gt;&lt;span style="font-family:'PrimaSans BT,Verdana,sans-serif';"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:'PrimaSans BT,Verdana,sans-serif';"&gt;"&lt;/span&gt;&lt;span style="font-family:'PrimaSans BT,Verdana,sans-serif';"&gt;In this code I colored points based in velocity ...&lt;/span&gt;&lt;span style="font-family:'PrimaSans BT,Verdana,sans-serif';"&gt;" (B.R. Tura)&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2130851400636132308-6724101890408991650?l=fractalswithr.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fractalswithr.blogspot.com/feeds/6724101890408991650/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2130851400636132308&amp;postID=6724101890408991650' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2130851400636132308/posts/default/6724101890408991650'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2130851400636132308/posts/default/6724101890408991650'/><link rel='alternate' type='text/html' href='http://fractalswithr.blogspot.com/2007/11/wallpaper-atractor.html' title='Wallpaper attractor'/><author><name>Atte Tenkanen</name><uri>http://www.blogger.com/profile/15293915837170678092</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2130851400636132308.post-257669709584980178</id><published>2007-04-25T02:54:00.000-07:00</published><updated>2007-04-25T12:57:22.410-07:00</updated><title type='text'>Fractal interpolation</title><content type='html'>Iterated function system for fractal interpolation. Copy-paste and run.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://users.utu.fi/attenka/FractInterpolation.R"&gt;http://users.utu.fi/attenka/FractInterpolation.R&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_-rN58dZD8-Q/Ri-ygWHiVZI/AAAAAAAAABw/03-GRUaz46I/s1600-h/FractalInterpolation2.jpeg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp0.blogger.com/_-rN58dZD8-Q/Ri-ygWHiVZI/AAAAAAAAABw/03-GRUaz46I/s400/FractalInterpolation2.jpeg" alt="" id="BLOGGER_PHOTO_ID_5057457175323104658" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_-rN58dZD8-Q/Ri8qtGHiVYI/AAAAAAAAABo/JPn7_HERGdY/s1600-h/FractalInterpolation.jpeg"&gt;&lt;br /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2130851400636132308-257669709584980178?l=fractalswithr.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fractalswithr.blogspot.com/feeds/257669709584980178/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2130851400636132308&amp;postID=257669709584980178' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2130851400636132308/posts/default/257669709584980178'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2130851400636132308/posts/default/257669709584980178'/><link rel='alternate' type='text/html' href='http://fractalswithr.blogspot.com/2007/04/fractal-interpolation.html' title='Fractal interpolation'/><author><name>Atte Tenkanen</name><uri>http://www.blogger.com/profile/15293915837170678092</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp0.blogger.com/_-rN58dZD8-Q/Ri-ygWHiVZI/AAAAAAAAABw/03-GRUaz46I/s72-c/FractalInterpolation2.jpeg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2130851400636132308.post-3188241291276655109</id><published>2007-04-21T05:39:00.000-07:00</published><updated>2007-04-24T05:54:33.508-07:00</updated><title type='text'>Julia and Mandelbrot</title><content type='html'>&lt;span style="font-weight: bold;font-family:courier new;" &gt;I made a video using the developed versions of the codes presented below. The quality of the video is fairly poor but the idea becomes clear. The function, which forms the successive julia sets is C=a+sin(3*a)i, (-1.5 &lt; a &lt; 0.5), in which C is a complex parameter for the julia set.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a style="font-family: courier new; font-weight: bold;" href="http://www.ag.fimug.fi/%7EAtte/Julia&amp;Mandelbrot.wmv"&gt;http://&lt;span style=""&gt;&lt;span class="a"&gt;www.ag.fimug.fi/~Atte/&lt;/span&gt;&lt;/span&gt;Julia&amp;amp;Mandelbrot.wmv&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a style="font-family: courier new; font-weight: bold;" href="http://www.ag.fimug.fi/%7EAtte/Julia&amp;Mandelbrot.rm"&gt;http://&lt;span style=""&gt;&lt;span class="a"&gt;www.ag.fimug.fi/~Atte/&lt;/span&gt;&lt;/span&gt;Julia&amp;amp;Mandelbrot.rm&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2130851400636132308-3188241291276655109?l=fractalswithr.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fractalswithr.blogspot.com/feeds/3188241291276655109/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2130851400636132308&amp;postID=3188241291276655109' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2130851400636132308/posts/default/3188241291276655109'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2130851400636132308/posts/default/3188241291276655109'/><link rel='alternate' type='text/html' href='http://fractalswithr.blogspot.com/2007/04/julia-in-mandelbrot.html' title='Julia and Mandelbrot'/><author><name>Atte Tenkanen</name><uri>http://www.blogger.com/profile/15293915837170678092</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2130851400636132308.post-2407649594113810875</id><published>2007-04-18T12:28:00.000-07:00</published><updated>2007-04-18T12:34:00.288-07:00</updated><title type='text'>Mandelbrot set</title><content type='html'>Very inefficient code. Takes a few minutes to compute depending on the processor speed...&lt;br /&gt;&lt;br /&gt;&lt;a href="http://users.utu.fi/attenka/mandelbrot_set.R"&gt;http://users.utu.fi/attenka/mandelbrot_set.R&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2130851400636132308-2407649594113810875?l=fractalswithr.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fractalswithr.blogspot.com/feeds/2407649594113810875/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2130851400636132308&amp;postID=2407649594113810875' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2130851400636132308/posts/default/2407649594113810875'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2130851400636132308/posts/default/2407649594113810875'/><link rel='alternate' type='text/html' href='http://fractalswithr.blogspot.com/2007/04/mandelbrot-set.html' title='Mandelbrot set'/><author><name>Atte Tenkanen</name><uri>http://www.blogger.com/profile/15293915837170678092</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2130851400636132308.post-3131451941039029606</id><published>2007-04-18T11:58:00.000-07:00</published><updated>2007-04-22T12:17:21.429-07:00</updated><title type='text'>Julia set</title><content type='html'>&lt;span style="font-weight: bold;font-family:courier new;" &gt;Perhaps not the most powerful code (you have to wait a little...) but readable and it works.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://users.utu.fi/attenka/julia_set.R"&gt;http://users.utu.fi/attenka/julia_set.R&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_-rN58dZD8-Q/Riu0quXtXlI/AAAAAAAAABg/rxgO0D8jNpE/s1600-h/julia1.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp0.blogger.com/_-rN58dZD8-Q/Riu0quXtXlI/AAAAAAAAABg/rxgO0D8jNpE/s400/julia1.jpg" alt="" id="BLOGGER_PHOTO_ID_5056333652748492370" border="0" /&gt;&lt;/a&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2130851400636132308-3131451941039029606?l=fractalswithr.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fractalswithr.blogspot.com/feeds/3131451941039029606/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2130851400636132308&amp;postID=3131451941039029606' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2130851400636132308/posts/default/3131451941039029606'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2130851400636132308/posts/default/3131451941039029606'/><link rel='alternate' type='text/html' href='http://fractalswithr.blogspot.com/2007/04/julia-set.html' title='Julia set'/><author><name>Atte Tenkanen</name><uri>http://www.blogger.com/profile/15293915837170678092</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp0.blogger.com/_-rN58dZD8-Q/Riu0quXtXlI/AAAAAAAAABg/rxgO0D8jNpE/s72-c/julia1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2130851400636132308.post-4906451610119292629</id><published>2007-04-16T21:18:00.000-07:00</published><updated>2007-04-17T05:37:35.905-07:00</updated><title type='text'>Rossler Attractor</title><content type='html'>&lt;span style="font-weight: bold;font-family:courier new;" &gt;Another code from Bernardo Rangel Tura. Thank you!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;####################&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;#Rossler Attractor #&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;####################&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;#dx / dt = - y - z&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;#dy / dt = x + a y&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;#dz / dt = b + z ( x - c )&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;#&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;#where a = 0.2, b = 0.2, c = 5.7&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;rossler&lt;-function(n=2000,a=.2,b=.2,c=1.7,x0=0.0001,y0=0.0001,z0=0.0001){&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;x&lt;-c(x0,rep(NA,n-1))&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;y&lt;-c(y0,rep(NA,n-1))&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;z&lt;-c(z0,rep(NA,n-1))&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;h&lt;-0.015&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;for (i in 2:n){&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;x[i]&lt;-x[i-1]-h*(y[i-1]+z[i-1])&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;y[i]&lt;-y[i-1]+h*(x[i-1]+a*y[i-1])&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;z[i]&lt;-z[i-1]+h*(b+z[i-1]*(x[i-1]-c))&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;require(rgl)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;rgl.clear()&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;rgl.points(x,y,z, color=heat.colors(n), size=1)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;rossler(2000,x0=3,y0=4,z0=.4)&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2130851400636132308-4906451610119292629?l=fractalswithr.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fractalswithr.blogspot.com/feeds/4906451610119292629/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2130851400636132308&amp;postID=4906451610119292629' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2130851400636132308/posts/default/4906451610119292629'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2130851400636132308/posts/default/4906451610119292629'/><link rel='alternate' type='text/html' href='http://fractalswithr.blogspot.com/2007/04/rossler-attractor.html' title='Rossler Attractor'/><author><name>Atte Tenkanen</name><uri>http://www.blogger.com/profile/15293915837170678092</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2130851400636132308.post-4792254897616253264</id><published>2007-04-16T21:08:00.000-07:00</published><updated>2007-04-16T21:26:56.803-07:00</updated><title type='text'>Clifford Attractors</title><content type='html'>&lt;span style="font-weight: bold;font-family:courier new;" &gt;Here is a code for Clifford Attractors by Bernardo Rangel Tura. Play with the parameters of &lt;/span&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;clifford(a,b,c,d) -function.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:'PrimaSans BT,Verdana,sans-serif';" &gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;#######################&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;# Clifford Attractors #&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;#######################&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;#Definition&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;#xn+1 = sin(a yn) + c cos(a xn)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;#yn+1 = sin(b xn) + d cos(b yn)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;#where a, b, c, d are variabies that define each attractor.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;clifford&lt;-function(a,b,c,d,n=2000){&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;x&lt;-rep(NA,n)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;y&lt;-rep(NA,n)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;z&lt;-rep(3,n)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;x[1]&lt;-pi/2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;y[1]&lt;-pi/2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;for (i in 2:n){&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;  x[i]&lt;-sin(a*y[i-1])+c*cos(a*x[i-1])&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;  y[i]&lt;-sin(b*x[i-1])+d*cos(b*y[i-1])&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt; }&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;require(rgl)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;rgl.clear()&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;rgl.points(x,y,z, color=heat.colors(n), size=1)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;clifford(-1.4,1.6,1.0,0.7)&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2130851400636132308-4792254897616253264?l=fractalswithr.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fractalswithr.blogspot.com/feeds/4792254897616253264/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2130851400636132308&amp;postID=4792254897616253264' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2130851400636132308/posts/default/4792254897616253264'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2130851400636132308/posts/default/4792254897616253264'/><link rel='alternate' type='text/html' href='http://fractalswithr.blogspot.com/2007/04/clifford-attractors.html' title='Clifford Attractors'/><author><name>Atte Tenkanen</name><uri>http://www.blogger.com/profile/15293915837170678092</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2130851400636132308.post-4130825737564232115</id><published>2007-04-13T13:18:00.000-07:00</published><updated>2007-05-02T12:01:43.022-07:00</updated><title type='text'>Modern graphic art (for some business)</title><content type='html'>&lt;span style="font-weight: bold;font-family:courier new;" &gt;ARE YOU ALSO A POOR ARTIST?&lt;br /&gt;&lt;br /&gt;If you do, load the R-program (&lt;a href="http://www.r-project.org/"&gt;http://www.r-project.org/&lt;/a&gt;), run the next script in R, select the best pictures and print them, use your signature and organize an art exhibition. Sell your pictures. Don't reveal the coefficients so that the pictures remain unique.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;&lt;br /&gt;If you want to be more modern, change the number in the first loop to 1000000 (I mean "g in 1:1000000"), put your computer screen to showcase and let the people enjoy (remember to turn off the screen saver, they don't look as nice). Ask the owner of the store to give&lt;/span&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt; you some royalties. When you are a millionaire, remember my children too!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_-rN58dZD8-Q/RjjfuWHiVbI/AAAAAAAAACA/X7aGR7boBXI/s1600-h/RandFract258.jpeg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp1.blogger.com/_-rN58dZD8-Q/RjjfuWHiVbI/AAAAAAAAACA/X7aGR7boBXI/s400/RandFract258.jpeg" alt="" id="BLOGGER_PHOTO_ID_5060040168654919090" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_-rN58dZD8-Q/RiCHRCSexKI/AAAAAAAAABQ/2f8oX_6FtIg/s1600-h/RandFract5.jpeg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://bp0.blogger.com/_-rN58dZD8-Q/RiCHRCSexKI/AAAAAAAAABQ/2f8oX_6FtIg/s400/RandFract5.jpeg" alt="" id="BLOGGER_PHOTO_ID_5053187508651607202" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;P.S. Perhaps somebody can do a screensaver based on this kind of code? Only the b/w-colors must be inverted.&lt;br /&gt;&lt;br /&gt;###################&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;# Random fractals #&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;###################&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;# I think there is something interesting &lt;/span&gt;&lt;span style="font-weight: bold;"&gt;approximately in every 50th picture &lt;/span&gt;&lt;span style="font-weight: bold;"&gt;...&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;BMatAll=c()&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;for(g in 1:300)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;# The coefficients for the iterated function system is randomly selected here. You can play with the coeff's changing the numbers here: &lt;/span&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;seq(-2/3,2/3,by=1/3):&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;BMat=array(sample(seq(-2/3,2/3,by=1/3),24,replace=TRUE),dim=c(4,6))&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;# If you want to save the coefficients... and make the best pictures again.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;BMatAll=c(BMatAll,BMat)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;# Initial coordinates:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;x=0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;y=0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;x1=c();y1=c()&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;# The code in this first loop is only for finding the limits of the picture coordinates:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;for(i in 1:1000)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;    x2=x&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;    i=sample(1:4,1,prob=c(0.7,0.1,0.1,0.1))&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;    x=BMat[i,1]*x+BMat[i,2]*y+BMat[i,5]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;    y=BMat[i,3]*x+BMat[i,4]*y+BMat[i,6]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;    x1=c(x1,x);y1=c(y1,y)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;# If you want to save your pictures...&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;# For linux: DIRECTORY="/home/user/"&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;# For OSX: &lt;/span&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;DIRECTORY="/Users/usernameorsomething/"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;# For windows: DIRECTORY="d:/RANDOMFRACTALS/"&lt;br /&gt;&lt;br /&gt;# To earn money with your pictures, change here width=2400, height=3200, and in the next j-loop: "for(j in 1:200000)".&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;#jpeg(filename=paste(DIRECTORY,"RandFract",g,".jpeg",sep=""), width=600, height=800, pointsize = 12, quality = 99, bg = "white", res = NA)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;plot(0,0,xlim=c(min(x1),max(x1)),ylim=c(min(y1),max(y1)),col="white")&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;for(j in 1:20000)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;    x3=x&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;    i=sample(1:4,1,prob=c(0.7,0.1,0.1,0.1))&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;    x=BMat[i,1]*x+BMat[i,2]*y+BMat[i,5]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;    y=BMat[i,3]*x3+BMat[i,4]*y+BMat[i,6]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;    points(x,y,pch=".",cex=1)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;#dev.off() # if you want to save your pictures...&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;}&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2130851400636132308-4130825737564232115?l=fractalswithr.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2130851400636132308/posts/default/4130825737564232115'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2130851400636132308/posts/default/4130825737564232115'/><link rel='alternate' type='text/html' href='http://fractalswithr.blogspot.com/2007/04/graphic-art.html' title='Modern graphic art (for some business)'/><author><name>Atte Tenkanen</name><uri>http://www.blogger.com/profile/15293915837170678092</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp1.blogger.com/_-rN58dZD8-Q/RjjfuWHiVbI/AAAAAAAAACA/X7aGR7boBXI/s72-c/RandFract258.jpeg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-2130851400636132308.post-1764878437161884028</id><published>2007-04-13T00:28:00.000-07:00</published><updated>2007-04-13T00:32:50.758-07:00</updated><title type='text'>R fractals page by Mario dos Reis</title><content type='html'>&lt;a href="http://www.geocities.com/mariodosreis/Rfractals/"&gt;http://www.geocities.com/mariodosreis/Rfractals/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Some R-code is also included.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2130851400636132308-1764878437161884028?l=fractalswithr.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fractalswithr.blogspot.com/feeds/1764878437161884028/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2130851400636132308&amp;postID=1764878437161884028' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2130851400636132308/posts/default/1764878437161884028'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2130851400636132308/posts/default/1764878437161884028'/><link rel='alternate' type='text/html' href='http://fractalswithr.blogspot.com/2007/04/r-fractals-page-by-mario-dos-reis.html' title='R fractals page by Mario dos Reis'/><author><name>Atte Tenkanen</name><uri>http://www.blogger.com/profile/15293915837170678092</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2130851400636132308.post-4836289941592909332</id><published>2007-04-12T23:29:00.000-07:00</published><updated>2007-04-12T23:30:03.153-07:00</updated><title type='text'>Henon attractor</title><content type='html'>&lt;span style="font-family: courier new; font-weight: bold;"&gt;X11(width=8,height=8)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new; font-weight: bold;"&gt;plot(0,0,xlim=c(-2,2),ylim=c(-1,1))&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new; font-weight: bold;"&gt;x=0;y=0;X=0;Y=0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new; font-weight: bold;"&gt;n=10000 # How many points.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new; font-weight: bold;"&gt;for(i in 1:n)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new; font-weight: bold;"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new; font-weight: bold;"&gt;    x1=x&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new; font-weight: bold;"&gt;    x=1+y-1.39*(x^2)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new; font-weight: bold;"&gt;    y=0.3*x1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new; font-weight: bold;"&gt;    points(x,y,pch=".")&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new; font-weight: bold;"&gt;    X[i]=x;Y[i]=y&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new; font-weight: bold;"&gt;}&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2130851400636132308-4836289941592909332?l=fractalswithr.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fractalswithr.blogspot.com/feeds/4836289941592909332/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2130851400636132308&amp;postID=4836289941592909332' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2130851400636132308/posts/default/4836289941592909332'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2130851400636132308/posts/default/4836289941592909332'/><link rel='alternate' type='text/html' href='http://fractalswithr.blogspot.com/2007/04/henon-attractor.html' title='Henon attractor'/><author><name>Atte Tenkanen</name><uri>http://www.blogger.com/profile/15293915837170678092</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2130851400636132308.post-3032056384795149033</id><published>2007-04-12T23:25:00.000-07:00</published><updated>2007-04-30T10:21:30.275-07:00</updated><title type='text'>Lorenz attractor</title><content type='html'>&lt;span style="font-weight: bold;font-family:courier new;" &gt;#############&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;## LORENZ ##&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;#############&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;a=10; r=28; b=8/3; dt=0.01&lt;br /&gt;X=0.01; Y=0.01; Z=0.01&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;n=60000&lt;br /&gt;XYZ=array(0,dim=c(n,3))&lt;br /&gt;t=0&lt;br /&gt;&lt;br /&gt;for(i in 1:n)&lt;br /&gt;{&lt;br /&gt; X1=X; Y1=Y; Z1=Z&lt;br /&gt;&lt;br /&gt; X=X1+(-a*X1+a*Y1)*dt&lt;br /&gt; Y=Y1+(-X1*Z1+r*X1-Y1)*dt&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;  Z=Z1+(X1*Y1-b*Z1)*dt&lt;br /&gt; #t=t+dt&lt;br /&gt; XYZ[i,]=c(X,Y,Z)&lt;br /&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;# install.packages("&lt;/span&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;scatterplot3d&lt;/span&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;") # Install if needed.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;library(scatterplot3d)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;x=XYZ[,1]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;y=XYZ[,2]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;z=XYZ[,3]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;X11()&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;s3d&lt;-scatterplot3d(x, y, z, highlight.3d=TRUE, xlab="x",ylab="y",zlab="z",type="p", col.axis="blue", angle=55, col.grid="lightblue", scale.y=0.7, pch=".", xlim=c(min(x),max(x)), ylim=c(min(y),max(y)), zlim=c(min(z),max(z)))&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;s3d.coords &lt;- s3d$xyz.convert(x,y,z)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;D3_coord=cbind(s3d.coords$x,s3d.coords$y)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;title("Lorenz Attractor")&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_-rN58dZD8-Q/RjYlZ2HiVaI/AAAAAAAAAB4/xrjbDISHn4c/s1600-h/Lorenz_attractor070411.jpeg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp1.blogger.com/_-rN58dZD8-Q/RjYlZ2HiVaI/AAAAAAAAAB4/xrjbDISHn4c/s400/Lorenz_attractor070411.jpeg" alt="" id="BLOGGER_PHOTO_ID_5059272357351413154" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2130851400636132308-3032056384795149033?l=fractalswithr.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fractalswithr.blogspot.com/feeds/3032056384795149033/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2130851400636132308&amp;postID=3032056384795149033' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2130851400636132308/posts/default/3032056384795149033'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2130851400636132308/posts/default/3032056384795149033'/><link rel='alternate' type='text/html' href='http://fractalswithr.blogspot.com/2007/04/lorenz-attractor.html' title='Lorenz attractor'/><author><name>Atte Tenkanen</name><uri>http://www.blogger.com/profile/15293915837170678092</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp1.blogger.com/_-rN58dZD8-Q/RjYlZ2HiVaI/AAAAAAAAAB4/xrjbDISHn4c/s72-c/Lorenz_attractor070411.jpeg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2130851400636132308.post-8328640347607861543</id><published>2007-03-29T06:56:00.000-07:00</published><updated>2007-03-29T07:08:47.687-07:00</updated><title type='text'>Koch curve</title><content type='html'>&lt;span style="font-weight: bold;font-family:courier new;" &gt;BMat=rbind(c(0.333,0,0,0.333,-0.333,0),c(0.167,-0.289,0.289,0.167,-0.0830,0.144),c(0.167,0.289,-0.289,0.167,0.083,0.144),c(0.333,0,0,0.333,0.333,0))&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;# Initial conditions:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;x=0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;y=0&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;plot(0,0,xlim=c(-0.5,0.5),ylim=c(0,1),col="white")&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;COLOR=c("green","red","blue","yellow")&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;for(j in 1:10000)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;    i=sample(1:4,1) # ,prob=c(0.25,0.25,0.25,0.25)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;    x3=x&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;    x=BMat[i,1]*x+BMat[i,2]*y+BMat[i,5]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;    y=BMat[i,3]*x3+BMat[i,4]*y+BMat[i,6]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;    points(x,y,pch=".",cex=1, col=COLOR[i])&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;}&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2130851400636132308-8328640347607861543?l=fractalswithr.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fractalswithr.blogspot.com/feeds/8328640347607861543/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2130851400636132308&amp;postID=8328640347607861543' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2130851400636132308/posts/default/8328640347607861543'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2130851400636132308/posts/default/8328640347607861543'/><link rel='alternate' type='text/html' href='http://fractalswithr.blogspot.com/2007/03/koch-curve.html' title='Koch curve'/><author><name>Atte Tenkanen</name><uri>http://www.blogger.com/profile/15293915837170678092</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2130851400636132308.post-7060748507745145421</id><published>2007-03-21T09:55:00.001-07:00</published><updated>2007-03-29T07:07:53.791-07:00</updated><title type='text'>A flower?</title><content type='html'>&lt;span style="font-weight: bold;font-family:courier new;" &gt;BMat=rbind(c(2/3,1/3,0,2/3,0,2/3),c(-1/3,1/3,0,1/3,-1/3,2/3),c(2/3,1/3,1/3,1/3,1/3,2/3),c(1/3,0,2/3,-2/3,1/3,0))&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;# Initial conditions:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;x=0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;y=0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;X11()&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;plot(0,0,xlim=c(-1,3),ylim=c(-1,3),col="white")&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;COLOR=c("green","red","green","red")&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;for(j in 1:30000)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;    i=sample(1:4,1) # ,prob=c(0.25,0.25,0.25,0.25)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;    x=BMat[i,1]*x+BMat[i,2]*y+BMat[i,5]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;    y=BMat[i,3]*x+BMat[i,4]*y+BMat[i,6]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;    points(x,y,pch=".",cex=1, col=COLOR[i])&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2130851400636132308-7060748507745145421?l=fractalswithr.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fractalswithr.blogspot.com/feeds/7060748507745145421/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2130851400636132308&amp;postID=7060748507745145421' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2130851400636132308/posts/default/7060748507745145421'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2130851400636132308/posts/default/7060748507745145421'/><link rel='alternate' type='text/html' href='http://fractalswithr.blogspot.com/2007/03/flower.html' title='A flower?'/><author><name>Atte Tenkanen</name><uri>http://www.blogger.com/profile/15293915837170678092</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2130851400636132308.post-4577862500577122985</id><published>2007-03-21T09:44:00.000-07:00</published><updated>2007-03-21T10:37:44.004-07:00</updated><title type='text'>Mandelbrot set</title><content type='html'>Here you can find the code for the Mandelbrot set:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://tolstoy.newcastle.edu.au/R/help/03b/3377.html"&gt;http://tolstoy.newcastle.edu.au/R/help/03b/3377.html&lt;/a&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_-rN58dZD8-Q/RgFriCWtn3I/AAAAAAAAAAU/vifvg-nufAQ/s1600-h/Mandelbrot3D.jpeg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://bp0.blogger.com/_-rN58dZD8-Q/RgFriCWtn3I/AAAAAAAAAAU/vifvg-nufAQ/s400/Mandelbrot3D.jpeg" alt="" id="BLOGGER_PHOTO_ID_5044431290123526002" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2130851400636132308-4577862500577122985?l=fractalswithr.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fractalswithr.blogspot.com/feeds/4577862500577122985/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2130851400636132308&amp;postID=4577862500577122985' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2130851400636132308/posts/default/4577862500577122985'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2130851400636132308/posts/default/4577862500577122985'/><link rel='alternate' type='text/html' href='http://fractalswithr.blogspot.com/2007/03/mandelbrot-set.html' title='Mandelbrot set'/><author><name>Atte Tenkanen</name><uri>http://www.blogger.com/profile/15293915837170678092</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp0.blogger.com/_-rN58dZD8-Q/RgFriCWtn3I/AAAAAAAAAAU/vifvg-nufAQ/s72-c/Mandelbrot3D.jpeg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2130851400636132308.post-3697294470482525127</id><published>2007-03-21T09:42:00.000-07:00</published><updated>2007-04-13T00:26:08.227-07:00</updated><title type='text'>Barnsley fern</title><content type='html'>&lt;span style="font-weight: bold; font-family: courier new;font-family:courier new;" &gt;BMat=rbind(c(0.849,0.037,-0.037,0.849,0.075,0.183),c(0.197,-0.226,0.226,0.197,0.400,0.049),c(-0.150,0.283,0.260,0.237,0.575,-0.084),c(0,0,0,0.160,0.500,0))&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-family: courier new;font-family:courier new;" &gt;# Initial conditions:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-family: courier new;font-family:courier new;" &gt;x=0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-family: courier new;font-family:courier new;" &gt;y=0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-family: courier new;font-family:courier new;" &gt;X11()&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-family: courier new;"&gt;plot(0,0,xlim=c(0,1),ylim=c(0,1),col="white")&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-family: courier new;"&gt;COLOR=c("green","red","blue","yellow")&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-family: courier new;"&gt;for(j in 1:10000)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-family: courier new;"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-family: courier new;"&gt;    i=sample(1:4,1) # ,prob=c(0.25,0.25,0.25,0.25)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-family: courier new;"&gt;    x3=x&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-family: courier new;"&gt;    x=BMat[i,1]*x+BMat[i,2]*y+BMat[i,5]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-family: courier new;"&gt;    y=BMat[i,3]*x3+BMat[i,4]*y+BMat[i,6]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-family: courier new;"&gt;    points(x,y,pch=".",cex=1, col=COLOR[i])&lt;/span&gt;&lt;span style="font-weight: bold; font-family: courier new;font-family:courier new;" &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-family: courier new;font-family:courier new;" &gt;}&lt;br /&gt;&lt;br /&gt;#--------------------------------------#&lt;br /&gt;# Alternative code by &lt;/span&gt;&lt;span style="font-weight: bold; font-family: courier new;font-family:courier new;" &gt;Stefano &lt;/span&gt;&lt;span style="font-weight: bold; font-family: courier new;font-family:courier new;" &gt;Guazzetti&lt;br /&gt;#--------------------------------------#&lt;br /&gt;&lt;br /&gt;# The probabilities used here give more dense fern.&lt;br /&gt;&lt;br /&gt;niter&lt;-150000&lt;br /&gt; kind&lt;-sample(1:4, niter, repl=T, prob=c(.01, .07, .07, .85))&lt;br /&gt;&lt;br /&gt; x&lt;-numeric(niter+1)&lt;br /&gt; y&lt;-numeric(niter+1)&lt;br /&gt; x[1]&lt;-0&lt;br /&gt; y[1]&lt;-0&lt;br /&gt; for (i in 1:niter) {&lt;br /&gt; x[i+1]&lt;- 0*(kind[i]==1)+(0.2*x[i]-0.26*y[i])*(kind[i]==2)+&lt;br /&gt;          (-0.15*x[i]+0.28*y[i])*(kind[i]==3) +&lt;br /&gt;          (0.85*x[i]+0.04*y[i])*(kind[i]==4)&lt;br /&gt;&lt;br /&gt; y[i+1]&lt;- 0.16*y[i]*(kind[i]==1)+(0.23*x[i]+0.22*y[i]+1.6)*(kind[i]==2)+&lt;br /&gt;          (0.26*x[i]+0.24*y[i]+.44)*(kind[i]==3) +&lt;br /&gt;          (-0.04*x[i]+0.85*y[i]+1.6)*(kind[i]==4)&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt; par(mar=c(0.1,0.1,0.1,0.1))&lt;br /&gt; plot(x, y, pch=17, cex=.3, col="darkgreen", axes=F, ann=F)&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2130851400636132308-3697294470482525127?l=fractalswithr.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fractalswithr.blogspot.com/feeds/3697294470482525127/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2130851400636132308&amp;postID=3697294470482525127' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2130851400636132308/posts/default/3697294470482525127'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2130851400636132308/posts/default/3697294470482525127'/><link rel='alternate' type='text/html' href='http://fractalswithr.blogspot.com/2007/03/barnsley-fern.html' title='Barnsley fern'/><author><name>Atte Tenkanen</name><uri>http://www.blogger.com/profile/15293915837170678092</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2130851400636132308.post-705370972962560825</id><published>2007-03-21T09:03:00.000-07:00</published><updated>2007-03-21T09:42:39.267-07:00</updated><title type='text'>Sierpinsky gasked</title><content type='html'>&lt;span style="font-weight: bold;font-family:courier new;" &gt;# Sierpinsky gasked, Chaos game -algorithm:&lt;br /&gt;&lt;br /&gt;X11(width=6,height=6)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;plot(0,0,xlim=c(0,1),ylim=c(0,1), col="white")&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;A=c(0,0)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;B=c(1,0)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;C=c(0.5,0.8)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;D=sample(0:1000,2)/1000&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;for(i in 1:10000)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;    Corner=sample(1:3,1)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;    if(Corner==1){CornerS=A}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;    if(Corner==2){CornerS=B}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;    if(Corner==3){CornerS=C}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;    D=(D+CornerS)/2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;    points(D[1],D[2],pch=".",cex=1)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;}&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2130851400636132308-705370972962560825?l=fractalswithr.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fractalswithr.blogspot.com/feeds/705370972962560825/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2130851400636132308&amp;postID=705370972962560825' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2130851400636132308/posts/default/705370972962560825'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2130851400636132308/posts/default/705370972962560825'/><link rel='alternate' type='text/html' href='http://fractalswithr.blogspot.com/2007/03/sierpinsky-gasked.html' title='Sierpinsky gasked'/><author><name>Atte Tenkanen</name><uri>http://www.blogger.com/profile/15293915837170678092</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
