@burst/lerp

Interpolation

Usage no npm install needed!

<script type="module">
  import burstLerp from 'https://cdn.skypack.dev/@burst/lerp';
</script>

README

@burst/lerp

This function is used for interpolation. This can be useful when animating.

Usage

import lerp from '@burst/lerp';

let x = lerp(0, 10, 0.2);