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
| // note: this is extremely ugly patched together code from *years* ago | |
| // that wasn't meant to see the light of day. | |
| // But hey, I suppose it 'works'. | |
| // | |
| // Fun fact: this code was initially written for animating gradients for minecraft titles! | |
| // | |
| // https://www.youtube.com/watch?v=Cc2nkx77U24 | |
| function rgbToHex(r, g, b) { | |
| return "#" + ((1 << 24) + (r << 16) + (g << 8) + b).toString(16).slice(1); |
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
| {"lastUpload":"2020-02-08T03:28:16.282Z","extensionVersion":"v3.4.3"} |