Mikko Mononen

Results 172 comments of Mikko Mononen

That is how the tail is updated. Then the problem is maybe in your code?

I'd recommend to step trough the code in debugger and see how the values get calculated. Maybe 100 is really big snap value?

the input parameter 'point', this is the line that does the actualy drawing: tail.cubicCurveTo(prevHandleOut, point, point); You will need to pass in correct coordinates where to draw the line to....

Hi, you could try to use the browser performance tools to see where the bottle neck is. I'd suspect that picking becomes bottleneck on big documents, and that is something...

I think paper.js does pretty good job already when doing picking, but I there's always room for improvement :) I recommend to take a little time to see how profiling...

The behavior is build to match Adobe Illustrator, including click-drag to shape the handle when closing. The code for resetting the handle is near line 1476: this.mode == 'close' this.currentSegment.handleIn.set(0,0);

You dont need to call the clip board capture in this case. Your intuition is correct. The selection is handled by paper.js, i'm not sure how it works internally. One...

You should call undo.snapshot("Init"); after all your initial changes to the document. It will take the first undo state. One thing I was not able to figure out was how...

Line 1459: ``` var segment = new Segment ... ``` should be: ``` var segment = new paper.Segment ... ```