NGAParallaxMotion icon indicating copy to clipboard operation
NGAParallaxMotion copied to clipboard

`parallaxIntensity` as a name could use improvement

Open michaeljbishop opened this issue 12 years ago • 3 comments

"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.

michaeljbishop avatar Sep 30 '13 01:09 michaeljbishop

Hello,

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

zmcartor avatar Nov 21 '13 03:11 zmcartor

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.

michaeljbishop avatar Nov 21 '13 14:11 michaeljbishop

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 :ocean:

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.

zmcartor avatar Nov 21 '13 14:11 zmcartor