Skip to content

Commit

Permalink
prints controls in the console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
syxanash committed Nov 30, 2024
1 parent 8ca21df commit 73721d3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions assets/js/bluerain.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,3 +156,13 @@ addEventListener("touchstart", () => {

rainColor = colors[Object.keys(colors)[rainColorTouch]];
});

const helpText = `%cKEYBOARD CONTROLS:
SPACE - pause play animation
1, 2, 3, 4, 5 - change rain speed (3 default)
G, R, B, Y, P - change rain color (green, red, blue, yellow, pink)
F - change rain font
`

console.log(helpText, "font-size: small")
console.log('%chttps://github.com/syxanash/bluerain', "font-size: medium");

0 comments on commit 73721d3

Please sign in to comment.