Updated to use PaperJS instead