1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-17 14:18:13 +01:00
dotSCAD/docs/lib3x-shuffle.md
2021-03-07 09:42:54 +08:00

231 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]));