Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Support Retina Resolution #49

Open
hartator opened this issue Jun 29, 2013 · 3 comments
Open

[Feature] Support Retina Resolution #49

hartator opened this issue Jun 29, 2013 · 3 comments

Comments

@hartator
Copy link

Any plan to support retina resolution?

It looks kind of blurry on my macbook pro retina, maybe I've missed something.

@yyang
Copy link

yyang commented Jun 30, 2013

I think it looks fine unless you are using pictures as background or
elements.

On Saturday, June 29, 2013, hartator wrote:

Any plan to support retina resolution?

It looks kind of blurry on my macbook pro retina, maybe I've missed
something.


Reply to this email directly or view it on GitHubhttps://github.com//issues/49
.

Sent from Gmail Mobile

@hartator
Copy link
Author

hartator commented Jul 1, 2013

Actually, it's not very sharp, there is some tricks we can do to make a
canvas retina-compatible:
http://web.archive.org/web/20130415082122/http://joubert.posterous.com/crisp-html-5-canvas-text-on-mobile-phones-and

I don't have a lot experience with that though.

On Sun, Jun 30, 2013 at 8:02 AM, Steve Yang [email protected]:

I think it looks fine unless you are using pictures as background or
elements.

On Saturday, June 29, 2013, hartator wrote:

Any plan to support retina resolution?

It looks kind of blurry on my macbook pro retina, maybe I've missed
something.


Reply to this email directly or view it on GitHub<
https://github.com/samizdatco/arbor/issues/49>
.

Sent from Gmail Mobile


Reply to this email directly or view it on GitHubhttps://github.com//issues/49#issuecomment-20242791
.

@jessepinho
Copy link

Simply resizing the canvas to width / devicePixelRatio is problematic for the mouse events in arborjs, though. You'll have to adjust your calculations for touch events to incorporate the particleSystem.screenSize setting; otherwise, your mouse events won't work as you expect them to. (For example, dragging on the screen affected a node in a different part of the screen when I tried to adjust for a Retina display; I'm still working on the solution to this.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants