merge changes

This commit is contained in:
Steven Polley 2018-07-31 16:24:59 -06:00
commit 671912e2ec
2 changed files with 2 additions and 2 deletions

View File

@ -28,6 +28,7 @@ var (
)
func mandelbrot(c complex128) uint16 {
var z complex128
for i := 0; i < Iterations; i++ {
@ -58,7 +59,6 @@ func computeThread() {
(float64(p.y)/Size+float64(p.tileY))/float64(uint(1<<p.tileZoom)),
),
)
p.out.SetRGBA(p.x, p.y, colors[val])
p.wg.Done()
}

View File

@ -24,7 +24,7 @@ var mandelbrotTypeOptions = {
return '/mandelbrot/' + zoom + '/' + coord.x + '/' + coord.y + '.png';
},
tileSize: new google.maps.Size(256, 256),
maxZoom: (1<<8) - 1,
maxZoom: (1<<16) - 1,
minZoom: 0,
name: 'Mandelbrot'
};