热门搜索 :
考研考公
您的当前位置:首页正文

Framer动效05

来源:东饰资讯网

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)"

Top