I am just trying to get into paper.js. Code works fine when they're inlined. But when I move them to an external file and src it there, errors starts to pop up :( Can anyone figure out what I did wrong? Error screenshot is attached  Much thanks!...
So I am trying to create a project with two canvas elements, each with its own paperscript, and with buttons on the outside of each that control certain functions within both.  Under the documentation under Paperscript, it says:     Please note:   Wh...
I am trying to draw a line with arrow at the tip of the line. But i am unable to complete it. Can any one help me.  I tried adding triangle with line but unfortunately it wont work while dynamically drawing. This is what i tried along with line....
I'm creating a SymbolDefinition for a circle, and placing it on the canvas using new SymbolItem(definition). The circle object used to create the definition had a default position of (0,0), a default color, and no additional information because w...
I wanted paperjs to load after a button is pressed to turn on animations but it seems the paperscript doesn't work if paper is loaded after page load.  If you comment out the setTimeout and uncomment the direct $.getScript - paperjs will fire the...
This is my code:  <!DOCTYPE html> <html> <head> <!-- Load the Paper.js library --> <script type="text/javascript" src="paper.js"></script> <!-- Define inlined PaperScript associate it with myCanv...
I am trying to draw a spiral raster example (link) on a server (running Node.js). However, I am facing an issue where my path is not displayed on the exported frame and I can only see the downloaded image. Probably a silly mistake on my side, however...
My foundations in Javascript aren't the strongest and I'm curious how others would go about the current challenge I've created for myself.  I'm playing around with paper.js  The following code creates this   The eye reacts to mouse ev...
I'm working on a paper.js animation. The animation contains multiple paths. I'm using ccapture.js to export the animation in a video.  What ccapture.js does is capture the drawing on canvas frame by frame and convert it into video.  The probl...
I am attempting to create a very simple beacon-like animation in Paper JS. The idea is that a circle starts off very small and totally opaque and then gets larger and more transparent until it disappears and the animation restarts.  I'm using sca...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.