title: Looping part of animation using react native animated
body: <p>How to play animation from 0 to 0.5 one time then looping from 0.5 to 1 to 0.5 using React native <code>Animated</code>.</p>
  
  <p>I have a loop 0-1-0. It works fine, but it starts from 0.</p>
  
  <pre><code>Animated.loop(
    Animated.sequence([
      Animated.timing(this.state.progress, {
        toValue: 1,
        duration: 1075,
      }),
      Animated.timing(this.state.progress, {
        toValue: 0,
        duration: 1075,
      }),
    ])
  ).start();
  </code></pre>