material-motion-swift
material-motion-swift copied to clipboard
A toolkit for building responsive motion using Core Animation.
This is due to the anchor point being adjusted. The draggable interaction needs to know that the anchor point has changed in order for it not to jump. This may...
Please add a comment explaining why `someObject` is needed for POP to do its thing.
This will remove the need for the optional initialVelocity argument for non-spring animations.
This will ensure that we support a good UIKit animation escape hatch for driving interactive transitions. E.g. show how to map a view's position to a transition's progress.
`transitionController` has a default transitionType. It should also be possible to associate different transitions with different gesture recognizers. E.g. when performing an edge swipe, we should use an edge swipe...
initialVelocity should likely only be affected by _map when the shape of the type is going to change
E.g. .y() should extract the y velocity. yLocked(to:) should not affect the velocity. Over-applying _map's transform to initialVelocity can lead to nonsensical velocity values. This may require operators to provide...
CASpringAnimation's duration property is more of a recommendation than a guiding force, so we can't augment the speed of the animation by multiplying the duration when slow motion is enabled....
Scenario: 1. Add a Tween or Spring to a property. 2. Connect that property to another property. When the interaction emits its animation event on the core animation channel, the...
Instead of _read, we should be subscribing to and caching values from the streams and emitting downstream once we've received all necessary information.