Jump to content

Lines look blurry on retina display


Crayonberry
 Share

Recommended Posts

I'm still learning pixi, so I'm not sure if I'm just doing something wrong, but when I draw simple lines using PIXI.Graphics, they look blurry on retina displays, but fine on normal displays.  Here's a quick JSFiddle for testing purposes: http://jsfiddle.net/BNLAd/

 

I've tried a few different combinations of adjusting the position of the line by 0.5, as well as the line thickness by 0.5, but nothing seems to do the trick.  Any ideas?

Link to comment
Share on other sites

No luck...  I've also tried a few suggestions such as:

http://elev.at/predawnblog/posts/2011/03/crisp-html-5-canvas-text-on-mobile-phones-and.html

but it's resulting in my drawing being shrunk down (although it kinda looks crisp lol), while the rest of the canvas is still taking up the normal amount of space...  I'm not sure if I'm just doing something wrong or if PIXI is getting in the way.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...