paperjs Questions

5

Solved

I am trying to use PaperJs in one of my React components. I'm not sure where to use the paper.view.onFrame method in my component
Lenin asked 18/5, 2019 at 10:1

1

Solved

For generating an icon font, I have a workflow that involves processing SVGs so that they are suitable for using the Node.js package @tancredi/fantasticon. In general, all packages I found so far, ...
Saldivar asked 13/1, 2023 at 8:39

4

I'm trying to understand if there is a way to break a line ( \n ) in the paper.js textItem: http://paperjs.org/reference/textitem maybe there's a way to box it in somehow? I need it to breakline a...
Hi asked 23/12, 2012 at 14:43

4

Solved

I'm trying out Paper.js for fun, but it seems I'm already stuck at the very start. Adding resize="true" to the canvas tag is supposed to make the element as high and wide as the browser window. Ho...
Ellyellyn asked 6/3, 2015 at 9:54

3

Solved

I have been trying to figure out how to pan/zoom using onMouseDrag, and onMouseDown in paperjs. The only reference I have seen has been in coffescript, and does not use the paperjs tools.
Implausibility asked 12/9, 2015 at 14:52

7

Solved

I'm trying to use paper.js in a webapp, but I've been unable to get it to work with multiple canvases. It's like the scopes are getting mixed up between the canvases, so when I intend to draw on ca...
Iced asked 31/5, 2013 at 20:57

3

I want to use paper.js in one of my components in Angular 2 but cannot seem to get it to work. The paper-full.js file runs when the component is loaded but it never recognizes the canvas. There is...
Fireproofing asked 19/3, 2017 at 0:3

2

Solved

I have found that canvas elements correctly resize on window resize when they are inside react components. They also resize correctly when used with PaperJS. However, they do not resize when used w...
Jealous asked 15/6, 2015 at 5:45

2

Solved

I have a very ordinary rectangle created in Paper.js and I'd like to resize it, but I can't find any obvious ways to do it. var rect = new Rectangle([0, 0],[width,height]); rect.center = mousePoin...
Whitethroat asked 21/4, 2015 at 1:37

2

I'm using the Bower package of Paper.js in a project. I'm using Gulp for preparing the project for the browser. There are some characters, however, that look like this in bower_components/paper/dis...
Herbertherbicide asked 7/10, 2015 at 14:1

3

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 disa...
Limber asked 29/12, 2011 at 11:4

2

Solved

Is there a recommended way to extend classes in Paper.js? In particular, I am interested in extending Path Pardon if my terminology is incorrect, but I am essentailly asking the same question abo...
Undistinguished asked 25/7, 2013 at 17:37

2

Solved

I have been using paperjs for a year now, without any issues. After a Chrome update (Version 55.0.2883.87 m) some production code that I hadn't touched for 2 months started failing with the error: ...
Battlefield asked 22/12, 2016 at 18:3

2

I am studing paper.js and don´t found how resolve my problem. See my application test in: http://www.plugbox.com.br/reta.htm The red circle covers only the Y axis and blue circle covers only the X...
Spent asked 5/9, 2014 at 18:4

2

I would like to call paper.js functions from HTML buttons in my page but I believe the paper.js functions exist in their own scope. The paper.js docs mention interoperability which sounds like the ...
Superman asked 26/6, 2014 at 19:51

2

Solved

http://paperjs.org/examples/ I'm trying to create a custom path with Chain, and I see that Tadpoles has a predefined heart-shaped path, so I'm trying to copy it but I don't understand a few parts ...
Dorena asked 18/9, 2016 at 8:10

1

Solved

I'm creating a web application that uses Paper.js to manipulate vectors that are imported through SVG. Up until recently, everything worked. Then, all of a sudden, the onMouseDown event stopped get...
Mcghee asked 28/9, 2015 at 14:28

2

Solved

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...
Platonism asked 11/12, 2015 at 10:53

1

I'm aware that I can scale a Raster object in Paper.js, as well as a TextItem and a Path. However, I'd like to do this on dragging the selection lines or bounding box of a Raster, TextItem, or Pat...
Valeryvalerye asked 13/10, 2015 at 20:48

1

Solved

I'm working on a Paper.js application that puts a raster (an image) in the view. Then it zooms to fit the image so that all of it is visible at one time. It's mostly working, but the image ends up ...
Kenley asked 7/10, 2015 at 21:59

1

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 downloade...
Prosecute asked 9/1, 2015 at 17:13

2

Solved

Is it possible to easily draw text along the bezier curve using paper.js? I know it is possible to attach text to a line path and then rotate it, but I am interested specifically in drawing text a...
Sverdlovsk asked 14/5, 2013 at 3:31

2

I used normal javascript to add image to canvas and this is the code var canvas = document.getElementById('canvas'); context = canvas.getContext('2d'); canvas_image(); function canvas_image(){ ...
Septemberseptembrist asked 1/6, 2013 at 17:34

4

I have an app that deals with drawing widget based upon paper.js. Several users can draw at the same time, and changes are broadcast to each other in real time. The problem is that I need to store ...
Madgemadhouse asked 21/4, 2015 at 13:13

1

Solved

In Paper.js, is it possible to change the frame rate of the onFrame(event)function? The paper.js website tutorial says the function is by default called 60 times per second, but it does not include...
Cribble asked 15/1, 2015 at 16:43

© 2022 - 2024 — McMap. All rights reserved.