Jump to content
You must now use your email address to sign in [click for more info] ×

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

001.thumb.png.2a2fc9c1d341dcfbe39460b1368f022a.png

 

002.thumb.png.1d2743189157a43583791a822a17b40c.png

 

 

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:

Gradient.png

 

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:

486147285_Capto_Capture2018-09-15_11-06-16_PM.thumb.png.09b858862a65b184e2e5a993a960884d.png

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!

1317005899_ScreenShot2018-09-16at07_31_38.png.a33827c24692ff9902b87d52f355b92d.png

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" 2019 Somona 14.3.1, iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9  
B| (Please refrain from licking the screen while using this forum)

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:

763642168_Capto_Capture2018-09-16_04-47-49_PM.thumb.png.db4783fe4ecf375500566b98329ac8d6.png

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" 2019 Somona 14.3.1, iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9  
B| (Please refrain from licking the screen while using this forum)

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.

Guest
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.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | 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.