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

parallaxIntensity as a name could use improvement #3

Open
michaeljbishop opened this issue Sep 30, 2013 · 3 comments
Open

parallaxIntensity as a name could use improvement #3

michaeljbishop opened this issue Sep 30, 2013 · 3 comments

Comments

@michaeljbishop
Copy link
Owner

"Intensity" as a name is a bit vague and it's not clear if an "intensity" can be negative ( though the value of this variable certainly can be).

Suggestions:

  • parallaxDisplacement
  • parallaxAmount
  • parallaxOffset
  • parallaxAdjustment
  • parallaxLevel
  • parallaxPlane

I'm open to suggestions.

@zmcartor
Copy link

Hello,

parallaxLevel makes sense as a notion that increasing the 'level' increases the amount of the effect.

@michaeljbishop
Copy link
Owner Author

I was wondering about that. Does it make sense to make a negative "level"? That's my hesitation. It's difficult because the value is both relative to the superview and it's not strictly a Z-Value. It's weird.

@zmcartor
Copy link

Negative 'level' makes sense when thinking about the concept of 'sea level.' Negative and positive measurements exists and have their own effects on the landscape. However that's a little esoteric and I feel like I'm reaching there 🌊

parallaxOffset may be clearer to those familiar with CSS where offset values can be negative or positive each with their own notion of expected effect.

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

2 participants