Skip to content

Commit

Permalink
Merge pull request #544 from LuisSanchez-Dev/patch-2
Browse files Browse the repository at this point in the history
  • Loading branch information
JonnyBurger authored Aug 6, 2021
2 parents 57dc865 + 08e9e1d commit 4bd6303
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docs/docs/random.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ random() // Error: random() argument must be a number or a string

## Use cases

Randomness can be used to create to create interesting visualizations, such as particle effect for example. Since Remotion renders a video on multiple threads and opens the website multiple times, the value returned by a `Math.random()` call will not be the same across multiple threads, making it hard to create animations based on randomness. Using this API will ensure that the pseudorandom number will be the same always.
Randomness can be used to create interesting visualizations, such as particle effect for example. Since Remotion renders a video on multiple threads and opens the website multiple times, the value returned by a `Math.random()` call will not be the same across multiple threads, making it hard to create animations based on randomness. Using this API will ensure that the pseudorandom number will be the same always.

## Accessing true randomness

Expand Down

0 comments on commit 4bd6303

Please sign in to comment.