rn-animated-math

1.0.1 • Public • Published

RNAnimatedMath

Basic math functions for React Native's Animated library

npm version license

Installing

$ react-native add rn-animated-math

Usage

import AnimatedMath from 'rn-animated-math'
const value = new Animated.Value(0.5)
const sin = AnimatedMath.sin(value)

API

  • sin
  • cos
  • tan
  • pow
  • abs
  • opposite
  • inverse
  • subtract

Readme

Keywords

Package Sidebar

Install

npm i rn-animated-math

Weekly Downloads

4

Version

1.0.1

License

MIT

Unpacked Size

3.66 kB

Total Files

4

Last publish

Collaborators

  • niciusb