Skip to content

Commit

Permalink
better colors v3
Browse files Browse the repository at this point in the history
  • Loading branch information
fzahner committed Jan 26, 2021
1 parent 7eeb555 commit 7060389
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ function animation() { // Gets called for each frame
}

document.addEventListener("DOMContentLoaded", function () { // On page load, Starting the programm
document.body.style.backgroundColor = backgroundColor; // Set the css background color to the selected color
directionCalc();
initCanvas();
animation();
Expand Down

0 comments on commit 7060389

Please sign in to comment.