Skip to main content

random fill

Randomly fill the polygon with a specified number of points.

Written by Holly Conrad Smith
Updated today

Use this when you want to randomly distribute a specified number of points within a polygon within a flow, for example scattering trees or planting within a landscape area.

Random numbers generated by computers are not truly random, but rather pseudo-random. They are produced by algorithms that, while appearing random, are deterministic and predictable. This means the same algorithm will generate the same sequence of numbers if given the same starting conditions.

In random number generation, a seed is a starting number used to initialize a random number generator (RNG). It's essentially a point within a predetermined sequence of "random" numbers where the generator starts producing values.

Inputs

Name

Abbreviation

Type

Access

Description

Input

I

Feature

Item

The input data

Transform

T

Object

Item

Transform controls (overridden by individual parameters)

Outputs

Name

Abbreviation

Type

Access

Description

Primary

P

Object

List

The primary output

How to:

  1. Draw a Rectangle or Polygon

  2. Click “Open flow builder”

  3. Select add the random fill node and random fill transform

  4. Click “edit defaults” to set the starting values

  5. Edit the settings and outputs in Properties

Random Fill Settings

The Random Fill Transform node adds a set of pre-defined properties to the properties palette. Edit the settings here to adjust the output of the flow.

  • Input the number of points

  • Select a randomization seed

    • The seed is just a way to help the computer simulate randomization. Type anything here - random text, a single number, or even your name! See what happens 😃

    • click the Dice for the computer to suggest a seed

  • Allow the output geometry to scale by +/- a percentage. Set to 0 to get an exact count of points

Random Fill Output

  • The single output is the list of random points

  • Apply any point-based usage, like tree

Did this answer your question?