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

Auto zoom implementation #347

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

tolotrasamuel
Copy link
Contributor

Cap.2025-02-26.at.21.16.19.mp4

@Brendonovich
Copy link
Member

This is a good start, but something I should have detailed in an issue is that the zoom shouldn't directly follow the cursor, rather it should lock onto a starting point, then move to another anchor point once the cursor moves close enough to the edge of the frame, with the motion being smoothed with the same physics simulation as the cursor.
I've not got around to implementing this myself as it's a bit tricky, but you're welcome to try it.

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

Successfully merging this pull request may close these issues.

2 participants