2.05.2011

Fractal coding

The fractal coding is actually going quite well so far. I've implemented the code to use the canvas tag to draw the Mandelbrot set. Blogger doesn't really offer an easy way for me to upload the JavaScript, so I'll just attach a screenshot.

I've also started working on the Google maps interface for zooming and panning. I've replaced the tile getting code with my fractal drawing code, but it still needs more work. I think I'm having issues mapping between two slightly different coordinate spaces. Luckily, there's a way to mess with the projection function, which should allow for an easy mapping between the Google coordinate system and the Mandelbrot set coordinate system.

Hopefully I can finish this in the next few days. I have some other engineering work to do, but this is much more fun right now.

2 comments:

  1. i like the google maps function. that is neat. will you email me the file?

    ReplyDelete
  2. Sure! I fixed it. At least for two levels of zoom...

    ReplyDelete