goat1000 / TagCanvas

HTML5 canvas-based tag cloud
240 stars 81 forks source link

Clouds look blury although everything is left as default #11

Closed beingyasirarfat closed 4 years ago

beingyasirarfat commented 4 years ago

I have been trying to solve the problem by , changing brightness, fonts, color, zoom, weight but none of them seem to work.Tried with jquery 3.4 and standalone version and everything. Blurry on every major browsers. even pasted codes from goat1000 examples.

goat1000 commented 4 years ago

Do you have something I can look at to see what you are getting? It could be that you are using CSS to scale the canvas up without setting a high enough resolution using the canvas width and height.

beingyasirarfat commented 4 years ago

Yeah, I was updating the canvas area dynamically to fit the section area. Shouldn't the objects be drawn for current instance of the canvas with current scales and all! Anyways now all I have to do is create the canvas itself dynamically with section height & width.