idk if this will do anything

This commit is contained in:
Lily-129 2022-01-28 10:52:14 -05:00 committed by GitHub
parent 74c1c1f3f7
commit 0e01a27b80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 1 deletions

View File

@ -7,6 +7,9 @@ elements.troll1 = {
if(Math.random() < 0.003 && pixelMap[i][j].element != pixel.element) { deletePixel(i,j) }
}
}
if(i == width) {
i = 1
}
}
},
category: "machines",
@ -23,6 +26,9 @@ elements.troll2 = {
if(Math.random() < 0.005) { pixelMap[i][j].color = "rgb(0,0,0)" }
}
}
if(i == width) {
i = 1
}
}
},
category: "machines",
@ -39,6 +45,9 @@ elements.troll3 = {
if(Math.random() < 0.05) { swapPixels(pixel,pixelMap[i][j]) }
}
}
if(i == width) {
i = 1
}
}
},
category: "machines",