Jump to content
Our response time is longer than usual currently. We're working to answer users as quickly as possible and thank you for your continued patience.

Gradient to follow the shape of a line

Recommended Posts

I am working with a rose petal and need the gradient to follow the SHAPE of the base line for the object.....so that it flows ( see illustration)....any thoughts on how to make this happen, I tried a linear gradient but it looked straight and flat against the curvature of the shape

gradient with shape.jpg

Link to comment
Share on other sites

I don't deal with vectors much, so it's entirely likely the following method may not be what you're looking for.  However these were the steps I used.

1) Created the main shape with the pen tool
2) Duplicated it
3) Removed the top part of the duplicated shape by breaking the curve and deleting the top nodes, leaving just the line along the bottom
4) Used this as the base for outline effect in the layer effects panel (see pic for settings)
5) Clipped it to the original main shape






Link to comment
Share on other sites

Also, part of what you want to da can be achieved by a mix of Layer Effects, like this:



At least that's what I think we can do while the Mesh Gradient Tool comes around.

Best regards!


Link to comment
Share on other sites

47 minutes ago, Lynn said:

I used a shape filled with red, then colored strokes curved as desired, grouped these and applied a Gaussian Blue, then nested them in the red shape...



Yup, that works! 

iMac 27" Retina, c. 2015: OS X 10.11.5: 3.3 GHz I c-5: 32 Gb,  AMD Radeon R9 M290 2048 Mb

iPad 12.9" Retina, iOS 10, 512 Gb, Apple pencil

Huion WH1409 tablet

Link to comment
Share on other sites

  • 9 months later...

Hi folks, I found Lynn's tips to be absolutely helpful. As you can see by this shot below, I got the result I was looking for - almost:


A wrestled with this all afternoon, but no matter what I do, the borders between the pie slices just do not want to blend nicely. When I tried to apply gaussian blur to the individual slices like Lynn did, the results were really horrendous, with yellow bands at the shape borders. The best I could manage was to apply gaussian blur to the group and crank the value all the way up, but it still not presentable.

Can someone look at the attached project file Circular Curved Arrows.afdesign and see what I might be doing wrong?

Link to comment
Share on other sites

@Michael Sheaver Goooooooood Morning Affinity people,

Had a play with the round arrow issue and its a non starter so, after some early morning doodling I had a lightbulb moment hahaha!

Lightbulb moment = Conical Gradient B| oh yeah!


Arrows.afdesign: File saved with history so you can scrub the history back and forth to see what I did.

I also wanted to get a good third spacing and get the arrows on the centre line so I used shapes as guides. I used a triangle for the thirds guide, and a third ellipse to mark the centre line, this helped with the arrow head positions, The only other issue was the overlap but I just duplicated one of the arrows and created a square and set its blend mode to erase to crop some of it off, the fill of the square is irrelevant so ignore that. oh I'd got a 0.3mm stroke on the arrows that I had to take off, don't know how that got there lol!

iMac 27" Late 2019 Fully Loaded and running Monterey 12.6.1, iMac 27" Late 2013 running Catalina 10.15.7 - Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9 B|  

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

Link to comment
Share on other sites

Wow, wow, WOW! This is an unexpected surprise indeed! 

@firstdefence, that lightbulb pop was definitely a flash of inspiration! The crazy thing is that I had tried the conical gradient in the beginning, but because I never did understand how it works, could not get it to work. So I looked for ways to do a gradient on a path and happened upon this post.

Thank you for sharing your example work with the history with me! You might think I'm nuts, but I used it as my personalized tutorial and followed along with my own empty project. And man, I did learn a lot of cool things, including:

  • Using the polygon-turned-triangle to get perfect spacing and proportions for the three curved arrows.
  • Why you chose the polygon instead of the triangle tool for this, for it the alignment of the points with the outer circumference was perfect with the polygon tool.
  • Aligning the center points of the arrow head (triangle) to be perpendicular to the center circle (I had eyeballed it before ;)).
  • Using the erase blend mode for the overlap; I had never used. that one before.
  • As an aside, I did set horizontal and vertical guides at the center of the circle to give me more precise placement of the focal points before transforming the duplicated arrows.

I had a TON of fun with this little exercise. :)

@>|<, as soon as I saw your screenshot with the conical gradient, everything clicked for me, and it now makes perfect sense to me! I honestly don't think I could have understood the work of @firstdefence had you not posted that shot!  am so glad you did, and thank you deeply for that!

I also like your use of the compound shape versus the union operation, and will definitely use it next time. And yes, I have used symbols quite a bit, and love them!

Here is the result of my exercise:


I do see that I need to be more careful of where to place the center guide circle, for the arrowheads look a bit off. Now that I have a good grasp of this, it should be no problem for me to redo it again. I just say that I absolutely LOVE the greater flexibility and control that this approach gives me!

Again, my deepest heart-felt thanks to both of you!


Edited by Michael Sheaver
fix typos
Link to comment
Share on other sites

You're welcome Michael 

iMac 27" Late 2019 Fully Loaded and running Monterey 12.6.1, iMac 27" Late 2013 running Catalina 10.15.7 - Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9 B|  

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

Please note there is currently a delay in replying to some post. See pinned thread in the Questions forum. These are the Terms of Use you will be asked to agree to if you join the forum. | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.