Skip to content
forked from GantMan/WaveFun

Just messing around with React Native animation

License

Notifications You must be signed in to change notification settings

lineCode/WaveFun

 
 

Repository files navigation

WaveFun

Just messing around with React Native animation. Hopefully some of the lessons shared in here will help someone else looking to mess with animation as well.

Update:

After watching Jason Brown's React Native animation videos (buy them here), I've fixed the wave animation to be much cleaner and simpler (but in a separate repo). Kudos to Jason for making such a great educational series.

obligatory gif

Things that are bad about the sine wave version here:

  • useNativeDriver: true should work for the sine wave, but it doesn't - issue #3. This is due to accessing a private variable that doesn't get updated in native. This is fixed in the alternate code base.
  • Sine doesn't keep shape over long periods of time due to not being actual Math.sin driven

These issues are significantly improved in the updated code... blog material?

About

Just messing around with React Native animation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 45.1%
  • Objective-C 32.5%
  • Python 12.7%
  • Java 9.7%