Little chaos tuning
This commit is contained in:
parent
54221b08b5
commit
035f9fcec3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user