From 035f9fcec376bd4c0355242b882fe39fc387a5f8 Mon Sep 17 00:00:00 2001 From: Mutah Date: Fri, 12 Feb 2016 13:35:11 +0100 Subject: [PATCH] Little chaos tuning --- lexical_attack/lexical_attack.pde | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lexical_attack/lexical_attack.pde b/lexical_attack/lexical_attack.pde index d229922..431598e 100644 --- a/lexical_attack/lexical_attack.pde +++ b/lexical_attack/lexical_attack.pde @@ -43,7 +43,7 @@ void setup() { void draw() { // let's get a random word with some chaos formula - int id = round(random(words.size() / random(1, 12))); + int id = round(random(words.size() / random(1, 12))) - 1; Word word = words.get(id); // draw a transparent rectangle over the text