I've begin to use Paper.js. The first problem I've run into is finding a CDN that works with JsFiddle, CodePen etc. In my case CodePen; the CDN for which I've found work to a degree what I mean is, I can create a rectangle in a variable, then using the console.log within CodePen get either the width or the height of the rectangle but if I want to draw a line by creating two points followed by a line between those two points, nothing shows in CodePen ?

Member Avatar for diafol

Seems to work: https://jsfiddle.net/023tLjta/

Can you show your code (js)?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.