Created
July 11, 2019 19:12
-
-
Save mariotacke/beb163e3888eaef558ca07a807633fee to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const charset = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@#$%&()/\\+<>'; | |
const randomCharacter = charset[Math.floor(Math.random() * charset.length)]; | |
outputContext.fillStyle = `rgb(${r},${g},${b})`; | |
outputContext.fillText(randomCharacter, x, y); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment