Skip to content

Instantly share code, notes, and snippets.

View timothyarmstrong's full-sized avatar

Timothy Armstrong timothyarmstrong

View GitHub Profile
var cx = oo.canvas().width/2;
var cy = oo.canvas().height/2;
var img_w = 271;
var img_h = 365;
var img = oo.image({src:'./img/face_271x365.png',
x:cx - img_w/2,
y:cy - img_h/2,
axis:{x:img_w/2,
y:img_h/2,
coord:'local',