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

Generate random straightline paths in Illustrator

Community Beginner ,
Dec 16, 2018 Dec 16, 2018

Hello all,

is there anyway to automatically generate Random straight like the ones shown on the image?

Kind regards Alexander Ibsen

8.3K
Translate
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 , Dec 17, 2018 Dec 17, 2018

Let me show you the steps.

pt1.png

pt2.png

Translate
Adobe
Community Expert ,
Dec 16, 2018 Dec 16, 2018

Not unless someone has written a script or a plugin.

What are you trying to accomplish? Maybe we can help another way?

Translate
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 ,
Dec 16, 2018 Dec 16, 2018

I'm trying, to make an image full of straight lines patterns in different colors.

Just like the image i posted, but with many lines all over the white background.

Translate
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 ,
Dec 16, 2018 Dec 16, 2018

Hi Alexander,

It’s probably best just to use the Pen tool if you want them connected as they are in your sample. There is nothing built in to do it automatically.

Drawing will be quick. If you’re like me, editing will be slower. You can move the shapes, move the anchor points, reorder the objects, and recolor them. Ask if you need more help.

~ Jane

Translate
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 ,
Dec 16, 2018 Dec 16, 2018

Maybe apply the Distort & Transform > Roughen Effect to a series of lines and Expand Appearance?

Roughen.png

Translate
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 ,
Dec 16, 2018 Dec 16, 2018

Ton, can you click on one of your lines and change the stroke color?

Translate
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 ,
Dec 16, 2018 Dec 16, 2018

After Expanding Appearance, yes.

The result is probably too regular horizontal or vertical

Probably better, after Expanding to select all and choose Select > Object > Direction Handles.

Choose Edit > Cut to remove the lines.

Copy the resulting anchor points and choose Object > Path > Join

Give it a stroke color.

Paste the Anchor points and use Object > Transform Each with the Random option checked to move and Rotate the anchor points

Join again, Color the strokes and repeat when necessary.

Screen Shot 2018-12-17 at 02.01.42.png

Translate
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 ,
Dec 16, 2018 Dec 16, 2018

That’s nice!

Translate
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 ,
Dec 17, 2018 Dec 17, 2018

Thank you Ton!

But I don't understand the steps after expanding appereance?

Translate
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 ,
Dec 17, 2018 Dec 17, 2018

Let me show you the steps.

pt1.png

pt2.png

Translate
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 ,
Dec 17, 2018 Dec 17, 2018

Ton, it’s a brilliant solution!

Translate
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 ,
Dec 17, 2018 Dec 17, 2018

jane-e  wrote

Ton, it’s a brilliant solution!

If both of you say so, then it must be true

Translate
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 ,
Dec 17, 2018 Dec 17, 2018

We do, and it is!

Translate
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 ,
Dec 17, 2018 Dec 17, 2018

... and this makes 3.

Translate
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 ,
Dec 17, 2018 Dec 17, 2018

Yes. Brilliant.

Translate
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 ,
Dec 16, 2018 Dec 16, 2018

This wouldn't be automatic, but you could drag with the Pencil too to create a bunch of random lines. Then select the anchor points and click the Convert Selected Anchor Points to Corner icon. The icon won't appear if you select a complete path. You could take the Lasso selection tool and loop around a bunch of anchor points being careful not to select all of the anchor points on a path.

After that you could select all the paths and choose a Spectrum gradient for the stroke. From the swatches panel menu choose Open Swatch Library > Gradients > Spectrum.

Translate
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 ,
Dec 17, 2018 Dec 17, 2018

Ton, that's a cool effect. Everything works just like you explained. My question is: Up to the instructions of clearing the handles leaving only the anchor points is there a way to make the anchors show up individually IOW's, just making the anchor points predominant? That would be a great way to make fast halftoning scatter brushes. Thanks for the quick tutorial you gave, I'm putting that one into my bag of tricks.

Strange, as long as I've worked with Illustrator there's still a lot of filters I've never even touched. I've alway figured...I'll get 'em, but so far I never have LOL!

Translate
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 ,
Dec 18, 2018 Dec 18, 2018

You could apply the effect > convert to shape > ellipse to all of them.

Then Expand appearance.

Translate
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 ,
Dec 18, 2018 Dec 18, 2018

And use the Random Swatches fill script to make confetti.

Translate
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 ,
Dec 18, 2018 Dec 18, 2018
LATEST

Count me in, that makes 4

Translate
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 ,
Dec 18, 2018 Dec 18, 2018

Thanks, with effects you won't see the anchor points that are generated by the effect until you expand the appearance.

Translate
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