1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-16 13:50:05 +01:00
dotSCAD/docs/lib3x-shuffle.md
2022-06-06 13:11:46 +08:00

230 B

shuffle

Randomizes the order of the elements of a list.

Since: 3.0

Parameters

  • lt : The list to shuffle.
  • seed : Random seed value.

Examples

use <util/shuffle.scad>

echo(shuffle([1, 2, 3, 4]));