| 13175 | }; |
| 13176 | |
| 13177 | function friendlyWelcome() { |
| 13178 | // p5.js brand - magenta: #ED225D |
| 13179 | var astrixBgColor = 'transparent'; |
| 13180 | var astrixTxtColor = '#ED225D'; |
| 13181 | var welcomeBgColor = '#ED225D'; |
| 13182 | var welcomeTextColor = 'white'; |
| 13183 | console.log( |
| 13184 | '%c _ \n'+ |
| 13185 | ' /\\| |/\\ \n'+ |
| 13186 | ' \\ ` \' / \n'+ |
| 13187 | ' / , . \\ \n'+ |
| 13188 | ' \\/|_|\\/ '+ |
| 13189 | '\n\n%c> p5.js says: Welcome! '+ |
| 13190 | 'This is your friendly debugger. ' + |
| 13191 | 'To turn me off switch to using “p5.min.js”.', |
| 13192 | 'background-color:'+astrixBgColor+';color:' + astrixTxtColor +';', |
| 13193 | 'background-color:'+welcomeBgColor+';color:' + welcomeTextColor +';' |
| 13194 | ); |
| 13195 | } |
| 13196 | |
| 13197 | /** |
| 13198 | * Prints out all the colors in the color pallete with white text. |