Skip to content

Instantly share code, notes, and snippets.

View gk3's full-sized avatar

George Kedenburg III gk3

View GitHub Profile
@gk3
gk3 / 3dtouch.coffee
Last active October 1, 2015 15:17
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"
function validateEmail(email) {
var re = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
return re.test(email);
}