• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Gradient along a shape

Explorer ,
Jan 18, 2011 Jan 18, 2011

Copy link to clipboard

Copied

Hi,

i wanna apply a gradient along a path. I searched, but all solutions (gradient as a brush or stroke solutions) did not work for me. My shape is already finished and i wanna apply the gradient from the beginning to the end (the arrowhead) along that "line". How can i do that in AI CS5?

Cheers from Germany

Mario

Screen shot 2011-01-18 at 11.55.17.png

Views

34.4K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jan 18, 2011 Jan 18, 2011
  1. Draw some rectangles larger than your shape
  2. Fill them with progressing tints
  3. Object >> Blend >> Make
  4. Send gradient to back, then make mask

Picture 1.png

Apologies for quick sloppy tracing of your shape

Votes

Translate

Translate
Adobe
LEGEND ,
Jan 18, 2011 Jan 18, 2011

Copy link to clipboard

Copied

i wanna apply a gradient along a path. I searched, but all solutions (gradient as a brush or stroke solutions) did not work for me.

They will, once you adapt your thinking. You are too bound on applying the effect directly and that's why you hit the wall. Create the gradient as a brush stroke or blend, apply it to a suitable path, then use the arrow as a clipping path.

Mylenium

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 18, 2011 Jan 18, 2011

Copy link to clipboard

Copied

Hi Mylenium,

thanks for your reply! I created already a brush with the gradient. But the brush works only for the stroke (like expected). I sit here since hours and i'm not moving just one little step ahead ... ;-(

Screen shot 2011-01-18 at 18.28.56.png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 18, 2011 Jan 18, 2011

Copy link to clipboard

Copied

  1. Draw some rectangles larger than your shape
  2. Fill them with progressing tints
  3. Object >> Blend >> Make
  4. Send gradient to back, then make mask

Picture 1.png

Apologies for quick sloppy tracing of your shape

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 18, 2011 Jan 18, 2011

Copy link to clipboard

Copied

Thanks Mike!

I tried the stroke and brush version. I draw a new 8pt stroke inside the shape, applied the brush, send the stroke back and choose the clipping mask. Just one thing that i don't like. How can i avoid these fuzzy edges that appears now?

Screen shot 2011-01-18 at 19.58.08.png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 18, 2011 Jan 18, 2011

Copy link to clipboard

Copied

Very Interesting, not sure why the fuzzy edges are there, must be a screen draw issue, and I doubt this will print. Do a print test to be sure, but I copied and pasted a quick test into photoshop @ 300 dpi and the fuzziness went away.

Another way around the fuzziness, is you could grab your blend, and choose object >> rasterize. I have no problem with the gradient being bitmapped as the mask container is vector and you should get a hard edge from that when you print. I don't like doing that though, because you loose editability, and rotating and recoloring the inbetween steps is important to this technique.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 18, 2011 Jan 18, 2011

Copy link to clipboard

Copied

Mario, I don't understand your jagged edges either. They don't appear in your grayscale objects, just the color ones. I'll keep digging at it if I have time.

Peter

Screen shot 2011-01-18 at 10.32.29 PM.png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 19, 2011 Jan 19, 2011

Copy link to clipboard

Copied

I don't know what to do. I tried also the blend method. The path with the arrow is sharp, but after the the clipping mask command it looks fuzzy:

Screen shot 2011-01-19 at 10.21.15.png

Screen shot 2011-01-19 at 10.21.40.png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 19, 2011 Jan 19, 2011

Copy link to clipboard

Copied

Mario,

I would also suggest the Blend and Art Brush/Envelope Distort way(s) as described by Peter; you should be aware that Illy gets dizzy at sharp corners in Art Brushes, and then the colouring gets funny as you can see where it turns inward from the curved part in your post #7.

I see no fuzzies making things that way. I believe it is a screen artifact as Mike says.

Have you tried a Save As PDF or printing to see whether it is really there?

In the end, you may not need to do anything.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 19, 2011 Jan 19, 2011

Copy link to clipboard

Copied

You're right, the print is perfect. But i need the logo (the illustration is a part of) also for screen (website). What can i do to make it looks as "sharp" as when it's printed?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 19, 2011 Jan 19, 2011

Copy link to clipboard

Copied

Mario,

But i need the logo (the illustration is a part of) also for screen (website). What can i do to make it looks as "sharp" as when it's printed?

What happens if you tick Anti-Alias in the Image Size window when you Save for Web (& Devices)?

Edit: Just to give a new option before Mike repeats an earlier one:

It may be worth ticking Anti-Aliased Artwork in Edit>Preferences>General (or wherever it is in your version) if it is not already.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 19, 2011 Jan 19, 2011

Copy link to clipboard

Copied

I already gave you a solution how to make this look sharp on the screen, see post #5.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 19, 2011 Jan 19, 2011

Copy link to clipboard

Copied

Hi Mike,

it worked! Thanks! It seems to be the only solution to avoid the fuzzyness. And like you said, it's not editable anymore. But when Illustrator is not able to do it in another way, i'll keep in mind this workaround for future works.

Every time i'm wondering how many tricks you have to know when working with Adobe products. I really searched in books and online for a way to solve the problem and i found nothing.

Cheers

Mario

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jan 23, 2011 Jan 23, 2011

Copy link to clipboard

Copied

I suggest this as a far better alternative then an Art Brush at least.

In general for a blend that needs to go in a circle... well, use a circle in your blend. Else you'll get odd blending with squares, lines etc. without multiple rotated steps. Below is far easier to edit, and use again.

Note: Jaggies are due to a simple Screen Cap. Use a Clipping Mask to fit within any other shape you want.

Spline Blend-01.jpg

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Aug 14, 2016 Aug 14, 2016

Copy link to clipboard

Copied

@ DocPixel-BMW - This is a wonderful tip; thank you very much!

The issue of the scalloping (jaggies of a sort) in the example below in just one area (along October) are perplexing... any ideas why? The screen cap explanation doesn't seem applicable to me.

scalloping.png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 14, 2016 Aug 14, 2016

Copy link to clipboard

Copied

The anchors might not be distributed evenly on your blend spine. You need to check if you can improve that.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Aug 14, 2016 Aug 14, 2016

Copy link to clipboard

Copied

The anchors occur at/ coincident with the center of the circles. Each circle (placed at the first of the month) has its own color. There is also a color circle at the end of December and the end of the path. The path is not closed and has a small gap between December 31 and January 1.

scalloping-anchors-placemment.png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 14, 2016 Aug 14, 2016

Copy link to clipboard

Copied

Try and adjust the handles of your spine path.

A lot of surprising things happen with blends. So there's trial and error involved and someimes it doesn't work at all. You could still work with a mask that hides the error.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Aug 14, 2016 Aug 14, 2016

Copy link to clipboard

Copied

Thank you Monica for replies and for the ideas. I'll probably go the mask route as a work around.

Jiggling the handles didn't do much in alleviating October's scallop.

scalloping-jiggle-the-handle.png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Aug 15, 2016 Aug 15, 2016

Copy link to clipboard

Copied

I would say its a silly bug.

I recreated your first Spline (red) and Blend above and then "replaced the spline"... with similar if not worse odd artifacts.

To alleviate the artifacts/distance discrepancies, double-click the Blend Tool or choose from the menu Object > Blend > Blend Options and then change the step pull down menu to "Specified Distance".... where at least on my side another bug is apparent: changing the distance does absolutely nothing (in my example 1mm, 20mm, or 100mm didn't change a thing).

But hey... we got rid of the odd stair steps... so Mission Accomplished

Screen Shot 2016-08-15 at 15.53.39.jpg

Screen Shot 2016-08-15 at 15.54.46.jpg

Screen Shot 2016-08-15 at 15.59.34.jpg

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Aug 15, 2016 Aug 15, 2016

Copy link to clipboard

Copied

LATEST

Thank you!

Changing the number of (radially oriented) steps also proved successful in this illustration of the analemma.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 15, 2016 Aug 15, 2016

Copy link to clipboard

Copied

How many Steps do you have?

Object  >> Blend >> Blend Options

Change to specified and increase the number.

Screen Shot 2016-08-15 at 8.24.06 AM.png

This post is quite old you can now use radiant long a stroke. Just do not use gradient along a stroke for a (figure 8, pretzelz, knot or similar) as you will have problem such as:

Screen Shot 2016-08-15 at 8.30.20 AM.png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines