Go Pro Sign Up Login

Buy Now and unlock this series

$

39

.99

$

24

.99

yours forever

Become a Pro and unlock everything

$

24

.99

per month

Interpolation Indepth

In this video, we’ll talk about the different ways to interpolate and what options can you use for interpolation. You’ll learn how to add rotations to your animation, as an example of how to interpolate multiple values.

Downloads

Become a pro to download code and videos

Comments

Bill

over 2 years ago [edited]

In case you missed it from an earlier comment on a previous video:

import styled from 'styled-components';

const DragCard = styled(AnimCard)`
  height: 300px;
`;
User avatar

Matt

about 3 years ago

I had errors getting the xDelta from Gesture, I fixed this by doing:

      <Gesture>
        {({ down, delta: [xDelta] }) => (
          <Spring
            native
            to={{
              x: down ? xDelta : 0
            }}
          >

Want to join the conversation?

Become a Pro member today!