Skip to content

Commit

Permalink
Update example
Browse files Browse the repository at this point in the history
  • Loading branch information
aboutjax committed May 6, 2016
1 parent e50b62e commit 72cad32
Show file tree
Hide file tree
Showing 23 changed files with 25,710 additions and 13,871 deletions.
9 changes: 4 additions & 5 deletions example.framer/app.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@ document.body.style.cursor = "auto"
# Include module
flipCard = require "flipCard"

# Set background layer
newBG = new BackgroundLayer
backgroundColor: "#41AF4B"
# Set the screen background colour
Screen.backgroundColor = "#D7D7D7"

backLayer = new Layer
x:0, y:0, width:616, height:470, image:"images/back.png"
frontLayer = new Layer
x:0, y:0, width:615, height:470, image:"images/front.png"

# flipEffect input: (front, back, perspective )
flipCard.flipCard(frontLayer, backLayer, 1600, "spring(300,20,0)")
# flipEffect input: (front, back, perspective, animation curve )
flipCard.flipCard(frontLayer, backLayer, 3200, "spring(300,20,0)")
16 changes: 0 additions & 16 deletions example.framer/framer/backups/backup-1426634486.coffee

This file was deleted.

16 changes: 0 additions & 16 deletions example.framer/framer/backups/backup-1426707953.coffee

This file was deleted.

16 changes: 0 additions & 16 deletions example.framer/framer/backups/backup-1447373052.coffee

This file was deleted.

16 changes: 0 additions & 16 deletions example.framer/framer/backups/backup-1447373365.coffee

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@ document.body.style.cursor = "auto"
# Include module
flipCard = require "flipCard"

# Set background layer
newBG = new BackgroundLayer
backgroundColor: "#41AF4B"
# Set the screen background colour
Screen.backgroundColor = "#D7D7D7"

backLayer = new Layer
x:0, y:0, width:616, height:470, image:"images/back.png"
frontLayer = new Layer
x:0, y:0, width:615, height:470, image:"images/front.png"

# flipEffect input: (front, back, perspective )
flipCard.flipCard(frontLayer, backLayer, 1600, "spring(300,20,0)")
# flipEffect input: (front, back, perspective, animation curve )
flipCard.flipCard(frontLayer, backLayer, 3200, "spring(300,20,0)")
12 changes: 6 additions & 6 deletions example.framer/framer/coffee-script.js

Large diffs are not rendered by default.

20 changes: 14 additions & 6 deletions example.framer/framer/config.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
{
"device" : "iPhone 5S Space Gray",
"sharedPrototype" : 1,
"deviceOrientation" : -90,
"orientation" : 0,
"updateDelay" : 0.3,
"delay" : 0.3,
"contentScale" : 1,
"sharedPrototype" : 1,
"propertyPanelToggleStates" : {

},
"deviceType" : "fullscreen",
"updateDelay" : 0.3,
"deviceScale" : -1,
"delay" : 0.3
"deviceOrientation" : 90,
"selectedHand" : "",
"codeFolds" : [

],
"device" : "iPhone 5S Space Gray",
"deviceScale" : 1
}
Loading

0 comments on commit 72cad32

Please sign in to comment.