Playing with geometry in PaperJS