Catch me emoji π
Testing Framer and its animation panel.
Code below
----------------
Framer.Device.deviceType = "iphone-6-silver-hand"
background = new Layer
width: Screen.width
height: Screen.height
background.backgroundColor = "#79A2FE"
smile = new Layer
width: Screen.width/10
height: Screen.width/10
image: "images/upside-down-face_1f643.png"
smile.centerX()
smile.centerY()
smile.on Events.MouseOver, ->
smile.animate
properties:
y: Utils.randomNumber(Screen.width/10,Screen.height-Screen.width/10)
x: Utils.randomNumber(Screen.width/10,Screen.width-Screen.width/10)
rotation: Utils.randomNumber(0,360)
scale: Utils.randomNumber(1,6)
time: 0.5
curve: "ease-in-out"
More by Sonia Parani View profile
Like