//Sample solution to main.js
var red = [0, 100, 63];
var orange = [40, 100, 60];
var green = [75, 100, 40];
var blue = [196, 77, 55];
var purple = [280, 50, 60];
var myName = "Ryan";
var letterColors = [red, orange, green];
if(myName.length < 4){
//try changing myName to less than 4 letters
bubbleShape = "square";
} else {
bubbleShape = "circle";
}
drawName(myName, letterColors);
bounceBubbles();
Back to the list of sample solutions for Animate Your Name
var red = [0, 100, 63];
var orange = [40, 100, 60];
var green = [75, 100, 40];
var blue = [196, 77, 55];
var purple = [280, 50, 60];
var myName = "Ryan";
var letterColors = [red, orange, green];
if(myName.length < 4){
//try changing myName to less than 4 letters
bubbleShape = "square";
} else {
bubbleShape = "circle";
}
drawName(myName, letterColors);
bounceBubbles();
Back to the list of sample solutions for Animate Your Name
No comments:
Post a Comment