I’m attempting to use paper.js with javascript directly: http://paperjs.org/tutorials/getting-started/using-javascript-directly/ and cannot get gradients to work. Instead of a color gradient the line just appears to be black. This occurs for all shapes, so I’m pretty sure I’m somehow setting up paper.js incorrectly. Any help would be appreciated! Here’s an example codeblock: jsfiddle: https://jsfiddle.net/3p1sr68n/2/ Answer In your example you referenced library
Tag: paperjs
Clipping Mask Ignores Opacity of Elements
I want to create a grid array of objects. And I want them to clip with the clipping mask. At the same time, all the objects in the grid should have different opacity. Example in the Sketch. At line 23, I set a random opacity, but when applying the mask this information will be ignored and filled with the mask