Skip to content

Instantly share code, notes, and snippets.

View antonkartashov's full-sized avatar

Anton Kartashov antonkartashov

  • Orenburg, Russia
View GitHub Profile
buttons = []
layers = []
for i in [0..10]
buttons[i] = new Layer
width: 200, height: 200
backgroundColor: "tomato"
x: Align.right()
opacity: .7
y: i * 205
(Device = new Layer
image: "http://resources.framerjs.com/static/DeviceResources/apple-iphone-6s-gold.png"
width: 874, height: 1792
screenObject = Screen
Screen = new Layer
width: 750, height: 1334
backgroundColor: "black"
parent: Device
clip: true
document.body.style.cursor = "auto"
document.body.style.cursor = "auto"
string = "Connection with your friends"
cursor = new Layer
backgroundColor: "blue"
width: 2
height: 40
text = new Layer
width: 1, height: 100
backgroundColor: ""
# Положить файл в папку вашего проекта (Untitled.framer)
# http://antonkartashov.ru/framer/photos.json
data = JSON.parse Utils.domLoadDataSync "file.json"
screens = new ScrollComponent
width: 360
height: 640
x: 0
y: 0
scrollVertical: false
backgroundColor: "black"
scrnCont = new ScrollComponent
backgroundColor: "blue"
# http://share.framerjs.com/ie30ezuuf9jd/
new BackgroundLayer
backgroundColor: "#aaa"
spinner = new Layer
width: 20
height: 100
backgroundColor: "blue"
borderRadius: "50%"
# http://share.framerjs.com/idckyu31ficw/
new BackgroundLayer
arrow = new Layer
width: 20, height: 700
backgroundColor: "tomato"
borderRadius: 10
circle = new Layer
# http://share.framerjs.com/jb2h1vh54qvn/
pagesA = new PageComponent
size: Screen.size
scrollVertical: false
page = []
dots = []
for i in [0..10]
dots[i] = new Layer