Skip to main content

ISAAC Random Number Array Generator

This node generates an array of cryptographically secure pseudorandom numbers using the ISAAC algorithm.

The ISAAC RNG Array node produces a batch of random numbers in a single operation.

The ISAAC Random Number Array Generator node functions similarly to the standard ISAAC RNG node but generates a list (array) of numbers at once. This is highly efficient for initializing large datasets or procedural content.

Inputs​

Array​

DataDescription
SizeThe number of random elements to generate. Default: 1. Max: 10,000.

Configuration​

DataDescription
SeedA number to seed the generator. Same seed = same array content.
NonceAn additional number to mix into the state.

Actions​

SignalDescription
DoGenerates the array.

Outputs​

Data​

DataDescription
Generated ArrayAn array containing the generated random numbers.

Signals​

SignalDescription
DoneTriggered when the array generation is complete.

Usage​

Example Use Cases​

  1. Terrain Heightmap: Generate an array of 100 random values to represent terrain heights.
  2. Loot Drop: Generate a batch of random numbers to determine loot for multiple chests at once.
  3. Statistical Sampling: Create a dataset for testing.

Detailed Behavior​

  1. Performance: Generating an array in one go is faster than triggering the single RNG node in a loop.
  2. Limits: The Size is capped at 10,000 to prevent performance freezes.
  3. Seeding: Like the single version, providing a seed guarantees the same array is produced every time.

Troubleshooting​

  • Array Too Large: If you need more than 10,000 items, you will need to generate them in batches or use a loop.