Quote:
|
Originally Posted by Pyrotex
This should get you started. If you get stuck, I'm here.
|
I am going to need a little more hand holding on this Pyro.
I am all set with the nested loops and the dimensions of the field. I am working out how to do the colors. I am also including controls for rotating, panning and zooming.
I am OK with the conditions for ending the recursive calculation, and what to do with the results.
My problem is knowing how to do the recursive calculations...
Quote:
Now let's look at the iteration code INSIDE the double loop above.
Then C(1) = C(0)^2 + C(0)
C(1) = a', b'i, where we have to calculate the new a' and b'
asq = a*a;
bsq = b*b;
a' = asq - bsq + a;
b' = 2*a*b + b;
CntIter = CntIter+1;
newCsquare = asq+bsq;
|
This part has me stumped.
Help me Pyrotex! Help!
Bill
----------------
aka
TheBigDog - Hypography Full Freaking Moderator
Become a Hypography sponsor!
The truth is incontravertible; malice may attack it, ignorance may deride it, but in the end there it is. - Winston Churchill
TheBigDog's recommended reading:
The Science of Success - Charles G. Koch
A neutron goes into a bar and asks the bartender, "How much for a beer?"
The bartender replies, "For you, no charge."