New answers tagged

4

Based on the Illustrator JS manual I've come up with the code below. This code does exactly what you want: Creates a gradient with two color stops: black and white Repeats it five times Applies it as a stroke to the active (selected) element A more generalistic version can be found below the line. (1) First we set the desired number of colors and the ...


4

You can achieve this with Illustrator scripting. Checking the documentation for CC15.3 in the JavaScript Reference PDF under Gradients on page 68. Create the colors: // Create the colors var startColor = new RGBColor(); startColor.red = 0; startColor.green = 100; startColor.blue = 255; var middleColor = new RGBColor(); middleColor.red = 252; ...


-3

Well, I would not use gradient all the way. First create a gradient like the one you have, then fill a canvas with it and define pattern (edit > define pattern). Then you go to Layer . new fill layer and choose pattern. You can use existing layer as a clipping mask. Now, the "n" is "scale" so 100% is 1, 50% is n=2 and so on. The smaller scale the more ...


4

This will only work if you are using the gradient as a stroke (as in your question). If you want to repeat the gradient endlessly (as opposed to a specific number of repeats) then you can skip steps 2 and 3 and use a pattern brush instead of an art brush. In CC you can now use images in brushes so you may be able to rasterize the gradient instead of ...


0

Ok this is cool. Group your layers into a single group then right click the group in the layers palette and choose 'export as'. You get to choose scale, format and quality. The resulting image will be named the same as the name of your group. Now the really cool bit. If you have lots of layers in lots of groups - shift (or control) select the groups you ...


0

I have a solution you should try .. 1 - make a layer mask over your photo 2 - double click on the mask 3 - choose color range 4 - pick the first eye dropper ( you also should choose the " image " checkbox ) 5 - start to click on the blue spaces which you want to hide or change 6 - you also can choose the second eyedropper ( with + sign ) to add a ...



Top 50 recent answers are included