Computer Science Canada Mandlebrot (w/ zoom) |
Author: | TheOneTrueGod [ Wed May 03, 2006 1:56 pm ] | ||
Post subject: | Mandlebrot (w/ zoom) | ||
I searched around, and I found an old post on this as well, but I decided to create this anyway, as the old version didn't have zooming capabilities (as far as in-program went, anyway) Warning: Turing cannot handle anything zoomed in too far. The window might start going kinda funky, and unexpected behaviour may develop.
|
Author: | Clayton [ Wed May 03, 2006 5:01 pm ] |
Post subject: | |
looks good, but i dont quite understand what you mean by "zoom", all i can do is draw a box and nothing happens, is that supposed to happen?(thats what it looks like from the code, but i cant be sure...) gj otherwise |
Author: | TheOneTrueGod [ Wed May 03, 2006 8:15 pm ] |
Post subject: | |
you have to draw the box from bottom left to top right, or else it won't work: |----------------finish | | | | | | start ------------| |
Author: | Clayton [ Wed May 03, 2006 8:39 pm ] |
Post subject: | |
ok i got it now, very cool, although that thing with the box not being able to be drawn top to bottom... not good, you need to make it so that you can draw the box any way and end up with the same result, gj otherwise, i understand what youve typed, but i never would have been able to come up with that on my own, gj |
Author: | codemage [ Thu May 04, 2006 7:52 am ] |
Post subject: | |
It wouldn't take much to fix that bug. Just check which of the y-click coordinates are lower, which of your x-click coords are leftmost, etc... |