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

Angle Gradient Effect in Illustrator

Guest
May 13, 2009 May 13, 2009

Copy link to clipboard

Copied

Hi,

I am trying to acheive the same angle gradient effect that can be done in Photoshop but in Illustrator. The actual thing I want to be able to create as a vector is the graphic attached...

Can this be done by somehow using the blend tool and replacing the spline with a circle?  Can someone walk me through the process?

Many thanks in advance.

Kit

Views

49.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
Adobe
LEGEND ,
May 13, 2009 May 13, 2009

Copy link to clipboard

Copied

Given that radar or sweep grads are common in other drawing programs, it's silly to have to resort to this, but...

JET

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
Guest
May 13, 2009 May 13, 2009

Copy link to clipboard

Copied

Thanks Jet. While this is close to the angle gradient in Photoshop it isnt quite the same. The gradient on yours has an outer to inner perimeter glow to it.  Do you know of a way to exactly imitate the photoshop effect?

Thanks

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
LEGEND ,
May 13, 2009 May 13, 2009

Copy link to clipboard

Copied

take a look at this thread in a different forum

http://www.graphic-forums.com/showthread.php?p=247312

If you carry it to an extreme you can go as far as this but you can also give it multiple sweeps with different color

and do things like this but take a look at the thread as it shows you how to do exactly what you want to do.

Picture 1.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 ,
May 14, 2009 May 14, 2009

Copy link to clipboard

Copied

If you can tolerate a raster image in Illy (depending on output etc) - you can do it P-shop and place in Illy.

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
Guide ,
May 14, 2009 May 14, 2009

Copy link to clipboard

Copied

This question comes up from time to time.

Can this be done by somehow using the blend tool and replacing the spline with a circle?

Yes, you can. However, I think it's easier to create a linear blend, make an art brush out of it, and apply the brush to a circular path. See this previous discussion.

(Since links seem to have been destroyed when old posts were imported to the new forum, I'll repost the image I created back then using this method. The sequence of posts in that thread is also now out of whack, but you'll get the drift.)

http://xrl.us/bhxep

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
Guest
Aug 29, 2011 Aug 29, 2011

Copy link to clipboard

Copied

I want to do this as well - but can't follow the instructions? I am relatively new to illustrator.

I don't understand how to use a 'gradient mesh'.
I find this under object>create gradient mesh - but it makes a funny box grid. Or am I don't something wrong?

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
Valorous Hero ,
Aug 29, 2011 Aug 29, 2011

Copy link to clipboard

Copied

Select the object and go to Object menu > Expand. In the box that opens check Gradient Mesh.

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 Beginner ,
Oct 29, 2013 Oct 29, 2013

Copy link to clipboard

Copied

This thread is 4 years old but here is a solution to make angle gradients in Illustrator CS6 and CC, which now have the capability to apply gradients on strokes.

1. Make a circle and give it a stroke equal to half its size and align stroke to center.

Example: 100px circle with  a 50px stroke.

2. Apply a linear gradient that has the same color on the starting and ending stops (if you want a seamless gradient) and apply gradient along stroke.

3. Apply Path > Effect > Offset Path half the amount of the stroke size and make it a negative value  so the path offsets inward.

4. Done!

angle-gradient-on-stroke-CS6.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 ,
Mar 15, 2014 Mar 15, 2014

Copy link to clipboard

Copied

Scottie-- this seems to work very well in Ill. CC, but when I convert the image to an SVG file, my strokes get converted to rasters because (apparently) the current consortuim for SVG files does not include the ability to handle gradients placed along or across strokes-- so Illustrator makes these into rasters when the imaged is converted to an SVG file.  I am looking to achieve the same effect you demonstrate here in a format that will hold up in SVG.  Is there such a beast?

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 ,
Mar 15, 2014 Mar 15, 2014

Copy link to clipboard

Copied

A blend should be able to do that as well as a brush.

Both might produce a somewhat heavy file because of the amount of objects.

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 Beginner ,
Mar 15, 2014 Mar 15, 2014

Copy link to clipboard

Copied

Yes, Monika, the blend thing works but I didn't get into creating brushes as another test. The centers end up coming out a little weird but since most blends would be normal size (this is blown up 1500%) then either the round or projecting caps on the blended lines should work fine.

angle-gradient-with-blends.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
Community Beginner ,
Mar 15, 2014 Mar 15, 2014

Copy link to clipboard

Copied

KDS4444, I believe you have to check off the option "Preserve Illustrator Editing Capabilities" in the SVG dialog box. You can just ignore the 'embed' or 'link' options since that would only apply to already rasterized artwork within the Illustrator file. It worked for me - full vector editing capability was produced. You may want to check and see if the generated SVG code works in a HTML document opened in your browser.

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 ,
Mar 15, 2014 Mar 15, 2014

Copy link to clipboard

Copied

Scottie: I wasn't sure if "check off" meant "check" or "uncheck", but I tried it both ways and it made no difference for me: both times I got the same jagged-edged raster in my otherwise smooth SVG vector image.  I usually save my SVG files without preserving the Illustrator editing capabilities anyway, but had no luck either way.  Are you sure that you are able to generate a vector with this kind of gradient this way?  Because my understanding is that such a thing cannot be done yet-- which was why I was asking if you or anyone else knew of another way that CAN be done.  Thoughts?

Here is a link to the file in which I am trying to use this technique.  If you look at the trunnions and rimbases, you can see the circle with the gradient in question. https://commons.wikimedia.org/wiki/File:Cannon-diagram2.svg

Message was edited by: KDS4444

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 Beginner ,
Mar 16, 2014 Mar 16, 2014

Copy link to clipboard

Copied

By "check off" I meant "keep it checked". I see that the SVG saves and reopens fine in Illustrator but, you're right, it displays as a bitmap in a browser. You'll see in the cannon graphic from your wikimedia link that the radial gradient there is also a bitmap (zoom in about 500% [try command+ a bunch of times]). However, Monika's suggestion of using a blend does make it still stay vector in both Illustrator and a browser. Here's a direct link to my file that you can use as a starting point. The center doesn't match up perfectly but I think it'll do just fine:


https://s3.amazonaws.com/scottdarispublic/svg-angle-gradient-by-blends.svg

(right-click and "Save as...")

Scott

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 ,
Mar 16, 2014 Mar 16, 2014

Copy link to clipboard

Copied

Yup, my prayers have been answered.  Thank you!

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
LEGEND ,
Mar 16, 2014 Mar 16, 2014

Copy link to clipboard

Copied

A radial metallic sheen can be approximated for purposes like your sample by using overlaid SVG linear grads. Drawn in Inkscape, this is scaleable and is 10K:

JET

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 Beginner ,
Aug 27, 2014 Aug 27, 2014

Copy link to clipboard

Copied

Just wanted to note for future reference that this feature has been added (and buried) in Illustrator CC.

First, apply the gradient to a stroke instead of a fill. Because you can do that now

In the gradient panel, there's a sub-option for "stroke", and the middle option is "apply gradient along stroke."

If you make the stroke width the same as the diameter of the circle, this will achieve the desired result.

Here's a screenshot of what I came up with. Obviously the reds on my gradient need to match.

Screen Shot 2014-08-27 at 4.40.44 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 ,
Dec 21, 2015 Dec 21, 2015

Copy link to clipboard

Copied

LATEST

You awesome dude, you - thanks so much for this. I saw the convoluted 9-step method and died inside.

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
New Here ,
Sep 04, 2014 Sep 04, 2014

Copy link to clipboard

Copied

Here is how to make this particular example using a 100 pt circle and a 100 pt stroke.

Screenshot 2014-09-04 19.04.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