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 request: enhancements to base=window #125

Open
itsViney opened this issue Jan 31, 2021 · 0 comments
Open

Feature request: enhancements to base=window #125

itsViney opened this issue Jan 31, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@itsViney
Copy link

With base=window, currently all tilting elements on the page move completely in unison, regardless of where they are in relation to the cursor. It would be great if an option(s) could be added so

  1. the amount of tilt applied to a given element decreases as the cursor moves further away from that element
  2. the angle of each element is unique so each one tilts towards/away from the cursor
  3. the scale effect is decoupled from the tilt to allow for the scale only being applied when the cursor is over each specific element

These options combined could make for some really unique effects when dealing with multiple tilting elements on a single page

@JB1905 JB1905 added the enhancement New feature or request label Nov 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants