Commit 7839bead authored by Adam Štěpánek's avatar Adam Štěpánek
Browse files

Fix a bug in generative_pattern

parent 96ed7a6e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@ void setupHash() {
  
  hue = new int[width / 8][height / 8];
  saturation = new int[width / 8][height / 8];
  rand = new int[width / 8][height / 8];
  rand = new int[width / 8 + 1][height / 8 + 1];
  for (int i = 0; i < width / 8; i++){
    for (int j = 0; j < height / 8; j++){
      hue[i][j] = int(random(40, 60));