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

Animation #2

Open
neftaly opened this issue Feb 28, 2023 · 2 comments
Open

Animation #2

neftaly opened this issue Feb 28, 2023 · 2 comments

Comments

@neftaly
Copy link
Collaborator

neftaly commented Feb 28, 2023

Allow basic camera animation by adding react-spring or similar to the OrbitCamera component, behind a config flag such as animation: 'spring'.

In the future something like updatePosition({origin, coords, animation}) can be used for camera transitions.

@neftaly
Copy link
Collaborator Author

neftaly commented Apr 26, 2023

Animation is now possible through update streams, just need to add a demo to the docs.

@neftaly
Copy link
Collaborator Author

neftaly commented Nov 14, 2023

Declarative aimation will be supported using a wrapper component, which is provided with camera state, destination, and an animation method. Custom animations will likely be handled by providing an animator function but not 100% on this yet.

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

1 participant