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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i rn-animated-math

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

3.66 kB

Total Files

4

Last publish

Collaborators

  • niciusb