Skip to content

offirg75-zz/framer.RippleTransition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RippleTransition.framer

Framer JS Module for a Material design like ripple transition

Animated GIF Sample

Example

Framer Prototype

Installation

Put rippleModule.coffee in the modules folder.

Instructions

1.Require the module:

rippleMod = require("rippleModule")

2.Create the ripple layer by calling the module function ripple(layerA, layerB, originX, originY, animationOptions)

  • LayerA- top layer
  • LayerB- underlying layer to be revealed by the ripple mask
  • originX- ripple X origin where it expands from
  • originY- ripple Y origin where it expands from
  • animationOptions- ripple animationOptions object (optional)
ripl = rippleMod.ripple layer1, layer2, 50, 50, animationOptions

3.Change the ripple state ("fill", "empty") by using the states Framer js API

ripl.states.switch "fill"
ripl.states.switch "empty"

About

Framer JS Module for a Material design like ripple transition

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages