Open neftaly opened 1 year ago
Animation is now possible through update streams, just need to add a demo to the docs.
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.
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.