Skip to main content

Module random

Module random 

Source
Expand description

Remotion-compatible deterministic pseudo-random number generator (random()).

Provides Mulberry32 PRNG and 32-bit Java hashCode computation, matching Remotion’s random(seed) function exactly.

Enums§

RandomSeed
A seed value for random.

Functions§

hash_code
Computes 32-bit Java-compatible string hash code using UTF-16 code units.
mulberry32
Remotion Mulberry32 32-bit pseudo-random generator.
random
Deterministic pseudo-random number generator matching Remotion’s random(seed).