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