The code is in here: https://github.com/aarondruck/Sticky/blob/master/js/placingStickers.js and https://github.com/aarondruck/Sticky/blob/master/js/myLogic.js