MCPcopy Create free account
hub / github.com/Code-Bullet/Jump-King / friendlyWelcome

Function friendlyWelcome

libraries/p5.js:13177–13195  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13175};
13176
13177function 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.

Callers 1

reportFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected