diff options
Diffstat (limited to 'Train/main.js')
-rw-r--r-- | Train/main.js | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Train/main.js b/Train/main.js new file mode 100644 index 0000000..af75cf7 --- /dev/null +++ b/Train/main.js | |||
@@ -0,0 +1,21 @@ | |||
1 | var myName = "@spearmint"; | ||
2 | |||
3 | var red = [0, 100, 63]; | ||
4 | var orange = [40, 100, 60]; | ||
5 | var green = [75, 100, 40]; | ||
6 | var blue = [196, 77, 55]; | ||
7 | var purple = [280, 50, 60]; | ||
8 | var letterColors = [red, orange, green, blue, purple]; | ||
9 | |||
10 | drawName(myName, letterColors); | ||
11 | |||
12 | if(10 < 3) | ||
13 | { | ||
14 | bubbleShape = 'square'; | ||
15 | } | ||
16 | else | ||
17 | { | ||
18 | bubbleShape = 'circle'; | ||
19 | } | ||
20 | |||
21 | bounceBubbles(); \ No newline at end of file | ||