diff options
author | JinweiClarkChao <[email protected]> | 2014-02-21 10:41:34 +0800 |
---|---|---|
committer | JinweiClarkChao <[email protected]> | 2014-02-21 10:41:34 +0800 |
commit | 1bd0af24e05a8d7e71c2cf0464d9c70594a05532 (patch) | |
tree | bef5020ef875512cdbf6fdff2e9cf2b5e8d6ba55 /Train/main.js | |
parent | 31fb10f393fbfd4d7adf528ec70624d2b8d247a8 (diff) | |
download | jinwei.me-1bd0af24e05a8d7e71c2cf0464d9c70594a05532.tar.gz |
Train
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 | ||