From 99e68cfb31b9d8a4dee9b6a08009473e3476ebda Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Sun, 11 Aug 2019 11:06:38 +0800 Subject: [PATCH] use rands directly --- examples/hypnotic_squares.scad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/hypnotic_squares.scad b/examples/hypnotic_squares.scad index 3ded8b0f..92fb1eff 100644 --- a/examples/hypnotic_squares.scad +++ b/examples/hypnotic_squares.scad @@ -44,7 +44,7 @@ module hypnotic_squares(x_grids, y_grids, grid_size, final_size, line_width) { rand_lt = [for(x = 0; x < x_grids; x = x + 1) [for(y = 0; y < y_grids; y = y + 1) - [random(), random()] + rands(0, 1, 2) ] ];