added a synthwave landscape effect

This commit is contained in:
8BitBiscotti
2024-12-11 12:57:34 +01:00
parent 9e0f98477d
commit 5b8bc2242d
6 changed files with 175 additions and 11 deletions
+11
View File
@@ -0,0 +1,11 @@
function randomFloat(min, max) {
return Math.random() * (max - min) + min;
}
function randomIntFrom0(max) {
return Math.floor(Math.random() * max)
}
function randomInt(min, max) {
return Math.floor(Math.random() * (max - min) + min)
}