tag:blogger.com,1999:blog-1513704378254120283.post2069655753498363900..comments2024-01-23T13:58:48.688-08:00Comments on The Trenches of Discovery: A three dimensional fractal in 3DShaun Hotchkisshttp://www.blogger.com/profile/04832423210563130467noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-1513704378254120283.post-68102340879548058802013-01-01T02:50:36.184-08:002013-01-01T02:50:36.184-08:00Yep got all the maths in this post. Now I'll h...Yep got all the maths in this post. Now I'll have to try and put it all together for the last paragraph....Gaylenehttps://www.blogger.com/profile/08224770614196806908noreply@blogger.comtag:blogger.com,1999:blog-1513704378254120283.post-89488088208622938252012-12-31T03:26:28.923-08:002012-12-31T03:26:28.923-08:00Cool, you're trying to nut it out.
OK, that&...Cool, you're trying to nut it out. <br /><br />OK, that's a good question. You should treat \(i\) as its own thing, you can't work out what it is. \(i\) is a number just as much as 3 is.<br /><br />That is to say, \(c\) has a real component (i.e. \(a\) ) and an imaginary component (i.e. \(b\) ). The \(i\) tells you what part of \(c\) is the imaginary part. For plotting the Mandelbrot set, the "imaginary" axis is the vertical "y" axis and the "real" axis is the horizontal "x" axis .<br /><br />Now, to calculate \(c^2\) you go \(c^2=(a+bi)^2=a^2+2abi+(bi)^2\). As I mentioned earlier, \(a\) and \(b\) are just ordinary real numbers (that is, the numbers you are used to in every day life). And, the only added complication is that \(i^2=-1\). So, \(c^2=a^2-b^2 + 2ab i\). That is, the real part of \(c^2\) is \(a^2-b^2\) and the imaginary part is \(2ab\).<br /><br />I hope that helps, if it doesn't, please keep trying to nut it out and ask more questions. If it does, take out a piece of paper and try all sorts of initial values for \(a\) and \(b\). Make a graph and give points a red dot if they are in the Mandelbrot set and a blue dot if they aren't and explore (remember \(a\) tells you \(c\)'s x-coordinate and \(b\) tells you \(c\)'s y-coordinate.Shaun Hotchkisshttps://www.blogger.com/profile/04832423210563130467noreply@blogger.comtag:blogger.com,1999:blog-1513704378254120283.post-30636812784126270072012-12-25T15:12:17.638-08:002012-12-25T15:12:17.638-08:00OK you lost me at i squared = -1 How do I calculat...OK you lost me at i squared = -1 How do I calculate i so that I can then calculate c? I don't know how to calculate the square root of a negative number. I am a layman :(Gaylenehttps://www.blogger.com/profile/08224770614196806908noreply@blogger.comtag:blogger.com,1999:blog-1513704378254120283.post-88419038038138089442012-12-18T06:46:44.860-08:002012-12-18T06:46:44.860-08:00I refuse to accept that, at least for the Mandelbr...I refuse to accept that, at least for the Mandelbrot set. Just because it takes a little bit of thought doesn't mean it is over your head. If you don't try you will definitely never understand it.<br /><br />To determine whether "c" is in the set, firstly you just need to square c (i.e. \(c\times c\), so 2-->4 1-->1 0.9-->0.81, etc) and then add c to the result (i.e. \(c\times c+c\), so 2-->6, 1-->2, 0.9-->1.71). Then you just keep repeating that process. Square the number you were left with at the end of the first step and add c to it. If the set of numbers that you make just keeps getting bigger, then c does not belong to the Mandelbrot set. If it doesn't, then c does. Simple.<br /><br />So, zero does belong, one doesn't, etc...<br /><br />The only thing that makes this more complicated is that it uses complex numbers. But, at least in this application, complex numbers are not difficult. You just write a complex number as \(c=a+b\times i\) and remember that \(i^2=-1\) (and a and b are just the ordinary "real" numbers you are used to).<br /><br />I know that upon reading that you will feel intimidated and believe that it is "over your head" but sit down, read it through slowly, pick a few examples of complex numbers, and see whether they belong to the Mandelbrot set. If you are capable of the arithmetic involved in writing a budget, you are capable of the arithmetic here. It is only through doing and thinking that anyone understands anything. (try \(c=0.5+0.2i\) and \(c=0+i\) to see whether they belong... and ask questions if you don't follow any step)Shaun Hotchkisshttps://www.blogger.com/profile/04832423210563130467noreply@blogger.comtag:blogger.com,1999:blog-1513704378254120283.post-24494341692489999962012-12-17T22:36:36.786-08:002012-12-17T22:36:36.786-08:00For a layman the maths is over my head I'm afr...For a layman the maths is over my head I'm afraid - but the effect is cool.Gaylenehttps://www.blogger.com/profile/08224770614196806908noreply@blogger.comtag:blogger.com,1999:blog-1513704378254120283.post-45108127207813390262012-12-17T18:23:49.938-08:002012-12-17T18:23:49.938-08:00The last sentence of this post is a bit of a fib. ...The last sentence of this post is a bit of a fib. The colours in the Mandelbrot set would require one more line to define. And, also, there is a lot of creativity and imagination that goes into the rendering of the three dimensional fractals. The shading, the lighting, the colouring is all chosen by a human. However, the basic point stands, which is that the shape of the structures is defined very simply.Shaun Hotchkisshttps://www.blogger.com/profile/04832423210563130467noreply@blogger.com