We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7f8b82 commit 3282b7dCopy full SHA for 3282b7d
py5_resources/py5_module/py5/mixins/math.py
@@ -352,6 +352,10 @@ def random_sample(
352
else:
353
return []
354
355
+ def shuffle(self, objects: list[Any]) -> list[Any]:
356
+ """$class_Sketch_shuffle"""
357
+ return self.random_sample(objects, len(objects), False)
358
+
359
@overload
360
def random_gaussian(self) -> float:
361
"""$class_Sketch_random_gaussian"""
0 commit comments