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.
Array
| Data | Description |
|---|
| Size | The number of random elements to generate. Default: 1. Max: 10,000. |
Configuration
| Data | Description |
|---|
| Seed | A number to seed the generator. Same seed = same array content. |
| Nonce | An additional number to mix into the state. |
Actions
| Signal | Description |
|---|
| Do | Generates the array. |
Outputs
Data
| Data | Description |
|---|
| Generated Array | An array containing the generated random numbers. |
Signals
| Signal | Description |
|---|
| Done | Triggered when the array generation is complete. |
Usage
Example Use Cases
- Terrain Heightmap: Generate an array of 100 random values to represent terrain heights.
- Loot Drop: Generate a batch of random numbers to determine loot for multiple chests at once.
- Statistical Sampling: Create a dataset for testing.
Detailed Behavior
- Performance: Generating an array in one go is faster than triggering the single RNG node in a loop.
- Limits: The
Size is capped at 10,000 to prevent performance freezes.
- 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.