Random Function #9

Closed
opened 2025-08-27 14:33:02 +10:00 by DiamondNether90 · 2 comments

Right now, ground does not have any random functions. Here is my idea:
random &ref: Sets the variable ref to a random double such that 0 \leq ref < 1.
random $seed &ref: Uses a string as the seed for the random generator.

Right now, ground does not have any random functions. Here is my idea: `random &ref`: Sets the variable ref to a random double such that $0 \leq ref < 1$. `random $seed &ref`: Uses a string as the seed for the random generator.
Owner

I added this in the math library, can you try to use it?

I added this in the math library, can you try to use it?
max closed this issue 2025-09-21 16:05:42 +10:00
Author
Member

No

No
This repo is archived. You cannot comment on issues.
No Label
2 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ground/ground-old#9