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

Recommended Posts

Hi All!

Thank you for having me on the forum. I'm curious if there is a way to make multiple strokes using one brush stroke, that can later be edited individually? 

For example, I am working on logo where I'm using 6 different colors as if they are all going in the same direction painted by a brush (Please see attached image). Is there any way to make all 6 colors using one brush? For this, I made each curve individually, adjusting each one as needed. Looking for a more efficient way to work in this style. 

Thanks!

Karma

Screen Shot 2018-05-30 at 4.09.44 PM.png

Link to comment
Share on other sites

  • Staff

Hi @Lobsang Karma,

Welcome to the forums. 

You cannot really create multiple curves with just one brush stroke. You would have to manually adjust them. You can create a brush and paint with it, ( let's say 6 coloured dots and use it as a preset) but you will not be able to edit the colour individually later on. 

Thanks,

Gabe. 

Link to comment
Share on other sites

You could create a coloured image brush, the problem with this is it would be whatever colour background is at the time you export the png i.e. white, the gap in-between the colours would also be white. It could be a way to create funky line overlaps buy drawing lines on operate layers and using blend modes to alter where they overlap each other.

Brush PNG
56163762_Brush6lines.thumb.png.2fd5de5c00510f06849cffbc51e9daf9.png

54870444_ScreenShot2018-05-31at10_16_39.png.661325f024c728925064d45e22e4c37b.png

Using the Lighten Blend Mode

80805407_ScreenShot2018-05-31at10_17_33.thumb.png.7fcdc2661797ef681b6949ee776f59a7.png

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

1 hour ago, Aammppaa said:

firstdefence There is no need to export with a background colour, it can be transparent.

Great tip! Works pretty well with a transparent png as a new Textured Image Brush! :)

106935444_4colorbrush.png.e5eefe9c00b6320a7885332a8f1923e9.png  1016689959_4stroke.png.b83615fd6f88154614d326b62343c914.png

All 3 1.10.8, & all 3 V2.4.1 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
Affinity Photo 
1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Link to comment
Share on other sites

8 hours ago, Aammppaa said:

@firstdefence There is no need to export with a background colour, it can be transparent.

 

Affinity 4 Parallel Strokes Brush.afdesign

Hi @Aammppaa thanks for that, I did try that but it wouldn't do it for some reason I think I had a brain blink so went for a walk, I'll make another doc to see if it works in there...

Ok I made a new document and used a transparent background, I created the rainbow brush but I wanted the rounded ends like Lobsang was using so I made a pill shape instead of a square so I could move the head and tail offset in to get the rounded ends... Success! 
BUT... when I move the dashed red line on the tail side I get what I can only describe as nipples O.o "leave it R C-R, remember, I've just had an expanded stroke" :P but if I apply 1% Opacity Variance they disappear from the preview display, unfortunately when I draw a line the nipples appear as they did in the preview display.

To make the Pill I used a rounded rectangle set the Height to 200px and the width to 800px and then upped the corners to 50%
Its odd that it only happens on 3 of them and the I get a notch effect on the green.

Made a short gif to show what happens.

1150033254_Oddbehaviourwhenmakingabrush.gif.ffdbd803bab09038a8fe6ba498a8fac0.gif

Still there when actually drawing with the brush.

2088493738_ScreenShot2018-06-01at08_11_23.thumb.png.9d38e6b66ede147fc496597fb848d5d7.png

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

13 minutes ago, firstdefence said:

I made a pill shape instead of a square

Do you really need a pill shape? Why not just use a circle? :/

 

Alfred spacer.png
Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro
Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.4.1 (iPad 7th gen)

Link to comment
Share on other sites

Just now, αℓƒяє∂ said:

Do you really need a pill shape? Why not just use a circle? :/

 

That doesn't work you just get a row of circles, you need the pill shape to have a head so the brush stroke starts with a rounded end, a middle that can be repeated or stretched and a tail that finishes with a rounded end

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

7 minutes ago, firstdefence said:

That doesn't work you just get a row of circles

That depends on the spacing, surely? If you use a square instead of a rectangle you don’t get a row of squares!

Edit: Thinking about it, I suppose you do need a body between the head and the tail if you want the stroke to have smooth sides, but you should be able to get away with a very short one.

Alfred spacer.png
Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro
Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.4.1 (iPad 7th gen)

Link to comment
Share on other sites

6 minutes ago, αℓƒяє∂ said:

That depends on the spacing, surely? If you use a square instead of a rectangle you don’t get a row of squares!

Actually you do, you just don't see the join on a circle you see the arc's if you try to Create a head and a tail you end up with a square ended line. Using a pill shape accommodates the moving of the head and tail lines. 

1494827826_ScreenShot2018-06-01at08_36_09.png.96e7ec07aba72f5c732c5ce101fe33c6.png

 

531277100_ScreenShot2018-06-01at08_42_27.png.c2e7f459cb406a22bc69d0843ccd89ae.png

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

2 minutes ago, firstdefence said:

Using a pill shape accommodates the moving of the head and tail lines.

Quite so. I was editing my message when you posted. :)

 

Alfred spacer.png
Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro
Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.4.1 (iPad 7th gen)

Link to comment
Share on other sites

I think I may have found a bug on the brushes, I created a row of circles to show you and just out of curiosity moved the tail line and it produced the same effect as the pill shape brush. Its always on the lower half too.

496056952_ScreenShot2018-06-01at08_48_38.png.9ccec1032260396562e655f5ba4a49ed.png

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

2 minutes ago, firstdefence said:

I think I may have found a bug on the brushes

I think you may well have! I originally suggested using a circle instead of a pill shape because I hoped it wouldn’t have that glitch.

BTW, what’s that brush width of “547.851 px” all about? :o

Alfred spacer.png
Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro
Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.4.1 (iPad 7th gen)

Link to comment
Share on other sites

2 hours ago, firstdefence said:

I think I may have found a bug on the brushes...

It is even glitchier than you might think. Check out what happens if you move or rotate any of the nodes in the afdesign file in this  7 color.zip attachment. (It includes a one brush *.afbrushes file you can import as a new category if you want.) In particular, note the weird things that happen to the ends as either an end node is rotated or the middle node is modified.

glitch!.png.874561defbfe30a68ee151ac4f8cc1a7.png

All 3 1.10.8, & all 3 V2.4.1 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
Affinity Photo 
1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Link to comment
Share on other sites

  • 3 years later...

I've been tasked with something like this as well.

I thought I might use multiple strokes, but - haven't found something that will allow me to draw many lines and magically have them be adjacent.

One of my students is trying to emulate this coffee ad. Just droppin this example here in case it stirs up any ideas on this. It seems like it would be complicated math - and that it would need some controls for how many and how thick to calculate it.

Do you have any advice on what terms I could use to search for this? Maybe I can use illustrator for this part of the project. "Adjacent stroke" was all I could think to type.

CleanShot 2022-03-14 at 18.50.33.png

Link to comment
Share on other sites

I don't have any better suggestions for doing this in Affinity Designer, but I can think of several ways to do it in CorelDRAW.  A common go-to technique there is to draw a single central stroke, then expand it with multiple contours (which work robustly in CD) to get the parallel (actually "offset") lines, break apart the contour group geometry, then stroke selected lines with the desired color and width.

Link to comment
Share on other sites

@shérifderek

You can create a brush for this.
Draw a rectangle without an outline and fill it with one of the desired colors. Make it 4 mm high (for example).
Copy and paste it under itself, change the height to 8 mm and change its color. Do the same for all the colors by adapting the height.
Select the whole, export in PNG (in "Area", choose "Selection Only").
Then in the "Brushes" tab of the Studio, click on the "hamburger" at the top right next to the close button, click on "New Textured Image Brush. Choose the Png you have just created, the brush is then added to the category you have chosen (or created).
Select the stroke to which the brush is to be applied, in the studio, select the "Brushes" tab, select the category in which you have placed your new brush, click on it (it will be at the bottom of the drop-down list).
To make the colors appear on the stroke, set the stroke color to "None". Set the line thickness.

2022-03-15_100030.jpg

Link to comment
Share on other sites

If you want to get a pure vector result, i suggest 2 different approaches (with Designer or Photo)

(1) appearance panel (designer)

  • use a basic round brush, set width to taste, use vector tool like pen or pencil to draw line
  • add multiple strokes with help of appearance panel to add multiple strokes.  
  • you may try gradients to get non symmetrical colors 
  • 4614A05C-6832-44AE-BE14-767D2C95DBCB.thumb.png.b9fa820ea4e138392512607bea73485c.png

(2) expand stroke (designer and photo)

  • draw curve
  • duplicate n times (once per color)
  • duplicate two more times. Move one curve away, combine both to create a closed curve covering one half (from center of original curve. We need this later to mask
  • change stroke width e.g. 4, 8, 12, …
  • expand stroke 
  • set stroke colors to taste
  • nest all colored strokes to closed curve, so that only one half is visible to achieve non-symmetric curves

this approach can be extended further, using geometry>subtract to create independent closed curves, if you want to do more than coloring, e.g. changing curvature of selected parts.

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

 

Link to comment
Share on other sites

You can find some assets which help to speed up drawing multiple gapped coloured lines in one curve.

It correctly renders curves which overlap / cross themselves: Parts painted later will stay above parts painted earlier, but the transparent gap lets lower parts correctly shine through.

 

 

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

 

Link to comment
Share on other sites

@sheriffderek, if you want to go the brush route here's a tip:

Create the original brush with a simple black to white gradient.
Then, when applied to a stroke, add a Posterize adjustment in order to quantize the grey into steps corresponding to the number of lines (* more on this below). In this case 5. Now you can use a Gradient Map and have full control over the color of each individual line..... as opposed to having to make a new brush with each color change. 

* Yes, I did try to make the original brush segments specific solid grey values in order to use the Gradient Map directly, but the colors, for some reason were not exact when mapped. Close but not exact. Anyway it's easier to just do a gradient and use the # of lines rather than trying to figure out the percentages of grey you'd need (beyond simple divisions that is).

1349524140_ScreenShot2022-03-16at4_14_49PM.png.04f6d31cb495f1d5c77709d85484bf97.png

Link to comment
Share on other sites

53 minutes ago, JimmyJack said:

* Yes, I did try to make the original brush segments specific solid grey values in order to use the Gradient Map directly, but the colors, for some reason were not exact when mapped.

Well, this is exactly where my secret sauce can step in to avoid this issue. I use a procedural texture filter to create the gradient fill 100% exact wrt to positions of color stripes and color values, including the transparency gap.

 

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

 

Link to comment
Share on other sites

28 minutes ago, NotMyFault said:

Well, this is exactly where my secret sauce can step in to avoid this issue. I use a procedural texture filter to create the gradient fill 100% exact wrt to positions of color stripes and color values, including the transparency gap.

 

Care to share the sauce? Sounds delicious 🍽️ .

For clarity though, the simple gradient worked perfectly... Granted the stripes are evenly spaced.
What didn't was using absolute values of 0%,25%, 50%, 75% % 100% for the brush segments. (I didn't try 0-255 values, just %s)

Link to comment
Share on other sites

If you want to use a gradient, @NotMyFault's magic sauce (recipe) avoids having to position exactly the different stops of the gradient, which is already painful for some lines but would become frankly unmanageable for a large number.
In my simple example (few lines and equal spacing), I assumed that the total spacing was equal to a rectangle.
For this type of brush, I would instead use rectangles directly with the chosen colors, as in the first column.

2022-03-17_090149.jpg

Link to comment
Share on other sites

Hi @G13RL,

Okay, two mentions of @NotMyFault's special sauce!! I really wish someone would post a link.
I’m interested to see it. What are the input perimeters?. How does it work with uneven sections or gaps?

Until then I guess I’m a little perplexed regarding the diagram above.

Why do the many gradient stops need to be so precise? Any haphazard placement in the gaps will work fine.

But more to the point… (and this is still assuming equal sections)
Why enter multiple things (whether it’s individual values or many gradient stops) at all, when typing one number will do the job? 73 sections…. type 73 done.

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.