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

Mouse Tracking #85

Open
beilby opened this issue Feb 3, 2016 · 2 comments
Open

Mouse Tracking #85

beilby opened this issue Feb 3, 2016 · 2 comments

Comments

@beilby
Copy link

beilby commented Feb 3, 2016

Hi,

I am a novice with javascript, but I was wondering how difficult it might be to modify the code so that the rotation is attached to the mouse position as in this example http://phoenix.cool/

Thanks in advance and sorry if this is an obvious answer!

Cheers,
Jack

@boesbo
Copy link

boesbo commented Sep 13, 2017

News ?

@Jajolo
Copy link

Jajolo commented Feb 4, 2020

Hello there,
In the src/threesixty.js on line 479 you can exchange the two variables like this:

AppConfig.pointerDistance = AppConfig.pointerStartPosX - AppConfig.pointerEndPosX;

this at least makes the slider slide in the right direction. Also you could set the speedMultiplyer to 1 so that it spins not that quick.

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