Framer动效05

Framer动效05_第1张图片
Framer动效05_第2张图片

Screen.backgroundColor="#877dd7"

LayerA=new Layer

width: 150

height: 150

x:Align.center

y:Align.center

backgroundColor: "#fff"

borderRadius: 6

LayerA.originX=1

LayerA.originY=0

LayerA.animate

properties:

rotation:90

curve: "spring(200,30,10,19)"

LayerA.on Events.AnimationEnd, ->

this.animate

properties:

rotation:0

repeat:5

delay:2

curve:"spring(200,10,0)"

你可能感兴趣的:(Framer动效05)