Following on from this link a bit..
http://nand2tetris-questions-and-answers-forum.32033.n3.nabble.com/Experienced-People-Please-share-your-struggles-tt4034156.htmlI present my first Mandelbrot Set drawn on the VMEmulator
This is the set: x -1.2 to +0.4, y -0.8 to +0.8
It took about 18 hrs to draw (started at 1pm, finished 6am the following morning). If you look closely it isn't quite finished, I forgot that I'd put it in a loop, so 5 mins later the screen was clear and it was starting again. Fortunately I know myself well and took a few screen shots now and again in case of future muppetry.
Am going to see if I can get a third colour in (i.e. grey) and also I've some minor efficiencies to do. Also my iterative limit is only ten, hence the reason for the blurriness. Also you'll notice that it's coloured the wrong way round (traditionally the set is black) but with the background being white, it was easier to see if my program was working having out of the set being black and in being white.
Here's a couple of screen shots of the draw mandelbrot class:
I've not included any comments, to draw the set is some pretty simple code, and to be honest I couldn't be bothered, it's taken a lot of work to get to this point....
DECIMAL_MAX is set to 8, so it's working to 8 decimal places. In theory the NumBer class can handle up to 200 dp in this context (the limit is available RAM), so that's quite a lot of zooming in. However to zoom in just to 50 dp, i'm gonna guess that my computer would have to working on this for 6 months or so !
As per my comments in the other link, it's a testament to the writers of the VMEmulator & Jack (am assuming that's mssrs Nisan & Schocken) really. I'm pleasantly surprised it worked.
If I can get some better images, I''l post them.
Lozminda
(I'm learning to sleep through the noise of my computer's fan, so other new skills too)