Add vector functions and create path editor in easeljs.