1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-16 21:58:26 +01:00
dotSCAD/docs/lib3x-shuffle.md

16 lines
230 B
Markdown
Raw Permalink Normal View History

2021-03-07 09:42:54 +08:00
# shuffle
Randomizes the order of the elements of a list.
**Since:** 3.0
## Parameters
- `lt` : The list to shuffle.
- `seed` : Random seed value.
## Examples
2022-06-06 13:11:46 +08:00
use <util/shuffle.scad>
2021-03-07 09:42:54 +08:00
echo(shuffle([1, 2, 3, 4]));