Skip to content
This repository has been archived by the owner on Jun 23, 2019. It is now read-only.

Math.round() values coming back #5

Closed
forresto opened this issue Oct 18, 2013 · 4 comments
Closed

Math.round() values coming back #5

forresto opened this issue Oct 18, 2013 · 4 comments

Comments

@forresto
Copy link

Is there a way to round stuff that comes back? Otherwise we're getting the "dubstep effect:"
screen shot 2013-10-19 at 12 09 03 am

@forresto
Copy link
Author

What do you think @d4tocchini ? I imagine that rounding everything coming back will be useful, even as a default. Fuzzy fractions of pixels are OK while things are in motion, but when they stop sharp/whole pixels are better. Especially for Lazer™ 😉

@forresto
Copy link
Author

http://famo.us/ has some half-pixel issues too:

screen shot 2013-10-30 at 8 17 26 am

rounding that 8.5 manually:

screen shot 2013-10-30 at 8 18 47 am

@d4tocchini
Copy link
Member

optional via:

window.GSS_CONFIG = {
  roundBeforeSet: false
}

@forresto
Copy link
Author

Tried this https://github.com/the-grid/flowhub.io/issues/1 but it didn't seem to work: http://flowhub.io/

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

No branches or pull requests

2 participants