graphicxtras Affinity Photo Designer Photoshop Illustrator Videos

Random Point Generator Script In Illustrator

Purpose

The random point Illustrator generator creates a single line PC or mac on your art board. Takes the current fill / stroke color. You can make it fill the entire art board or just part of the art board. You can create 100 points or 1000 points in a second.

Location

Doesn't matter (can be the scripts folder if you wish)

Latest Version

1.1 Added color switch for stroke and number of paths to make.

1.2 Stroke width and also direction handles

To Run

Go to the file menu and script and other.

Variable / User parameters

There are three.

Points

Set to something greater than zero. If you want a complex path then set to 40 or 50 etc

Horizontal

The range for the horizontal is set to 0 to 1000 and that is randomized. If you set it to 2000 or the document width etc you can fill the entire document.

Vertical

The range for the vertical is set to 0 to -1000 and that is randomized or set it to 200 or 10 to make it a little thinner

Number of paths

You can set this to 1 or 2 or 3 etc, set it to 10 or 50.

Stroke color (Use current or not)

By default true and so will generate red, green etc in all kinds of way but turn it off and you will just get the current color.

LeftHorzDirection, LeftVertDirection etc

The handles. If you you want straight lines then set them to 0 but if you want a more doodle like effect then set them to 250, 250, -250, -250. They are not defining the position of the direction, they are added to the current anchor. You can always change the code to make it just set to a fixed direction value or not have the addition but just use them as the value instead to create some extreme artwork

Random Points

If set then instead of using always the fixed value, you can use the from 1 to fixed value so they could have 2, 4, 7 etc each time a path is created.

Random width

Internally referred to as width, this is the stroke weight. If set to ON then the value in the width field will be used, if not then it will just use the current weight

Width

This can be 0, 1, 2.2, 20, 32.2 etc and is the value used for the weight between 0 and the entered value so if you put 10 then for each path generated, the weight could be 3.2 or 9.2 etc

Download

You can download the set