Skip to content

Added insertTransparentTexture method and new way to interact

Latest
Compare
Choose a tag to compare
@AlbanCrepel AlbanCrepel released this 15 May 14:00
· 6 commits to master since this release
5aee476
  • 🎉 It is now possible to start with a transparent canvas and animate to go to the first picture from this transparent texture. This is made possible by the startAsTransparent prop that calls insertTransparentTexture(0) if set to true on the component init.

  • 🔥 It is possible to insert a transparent texture at any index in you images array.

  • 🌈 The mouse interaction with RGB distortion has been reworked and we have 2 new props : interactionFactor and interactionDuration that control this effect.

  • 💨 The interactionVelocity prop has been removed