diff options
Diffstat (limited to 'examples/modern_art/src/main.rs')
-rw-r--r-- | examples/modern_art/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/modern_art/src/main.rs b/examples/modern_art/src/main.rs index 17149cbe..7b04b581 100644 --- a/examples/modern_art/src/main.rs +++ b/examples/modern_art/src/main.rs @@ -90,7 +90,7 @@ fn generate_box(frame: &mut Frame, bounds: Size) -> bool { let gradient = |top_left: Point, bottom_right: Point| -> Gradient { let mut builder = Gradient::linear(top_left, bottom_right); - let stops = thread_rng().gen_range(1..64u32); + let stops = thread_rng().gen_range(1..10u32); let mut i = 0; while i <= stops { |