Skip to main content

Random Integer

Generate a random integer between min and max

Holly Conrad Smith avatar
Written by Holly Conrad Smith
Updated over a week ago

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

Min

M

Number

Item

The minimum value

Max

M

Number

Item

The maximum value

Seed

S

Number

Item

The seed for the random number

Outputs

Name

Abbreviation

Type

Access

Description

Value

V

Number

Item

The random integer

How to

  1. Feed in a number for the minimum, maximum, and seed

    1. This could be the a numeric result of another node

    2. Or, you can use a number node

    3. Or, you can type numbers into the boxes

    4. If you need to process multiple numbers in a list, use the map node

  2. The result is a random integer between the min and max provided

Did this answer your question?