jmpressjs / jmpress.js

A jQuery plugin to build a website on the infinite canvas
http://jmpressjs.github.com/jmpress.js
1.5k stars 237 forks source link

SVG gets blurry #88

Closed sjoerdstaal closed 11 years ago

sjoerdstaal commented 11 years ago

Hi!

Thanks for your great plugin!

I'm trying to create a zoomable globe in which you can get more info on a country when zoomed in.. The zooming, positioning and everything works great, but when zoomed in the globe in the background get really blurry and unsharp. Is their a way to fix this? I've read somewhere that it has to do with the 3D engine, but I'm not planning to use the, just zooming and repositioning... Is there a way to keep the background image sharp?

http://dev.beesik.net/winkle-impress/#/home

Thanks in advance.

Grtz Sjoerd

sokra commented 11 years ago

You need to scale the image size 1000px -> 5000px and reduce the data-scale 100 -> 20.

This makes the browser render the internal layer with more pixels and makes it less blurry.