Skip to content

Instantly share code, notes, and snippets.

View antonkartashov's full-sized avatar

Anton Kartashov antonkartashov

  • Orenburg, Russia
View GitHub Profile
@antonkartashov
antonkartashov / app.coffee
Created January 3, 2017 04:04 — forked from jemgold/app.coffee
class-based Framer prototypes
# An example with classes building components.
# This stuff is a little fiddly to get set up,
# but once it's working it's great - you can just
# add new instances of the components, and each
# components holds references to all of its
# children. You can set defaults & states for each
# component separately.
#
# (try clicking on the post author, and then on each
# of the comments on a post)
@antonkartashov
antonkartashov / 3dtouch.coffee
Created October 1, 2015 15:17 — forked from gk3/3dtouch.coffee
3D Touch for Framer
# basic setup of layers
test = new Layer width: Screen.width, height: Screen.height
circle = new Layer
circle.center()
forceValue = new Layer width: Screen.width
forceValue.html = "0"
forceValue.style =
textAlign: "center"