diff options
author | Jinwei Zhao <[email protected]> | 2015-12-19 22:24:42 +0900 |
---|---|---|
committer | Jinwei Zhao <[email protected]> | 2017-01-13 15:07:45 +0800 |
commit | dbcebe1def5c355120c61b575390d1d9ac355f67 (patch) | |
tree | 70e61cc34a690c63ff80962e9ef883fe69dba6d3 /Code/Train/js/main.js | |
parent | 7e473afdca63f0ceed5d895c3be3b43f213ca136 (diff) | |
download | jinwei.me-dbcebe1def5c355120c61b575390d1d9ac355f67.tar.gz |
clear up
Diffstat (limited to 'Code/Train/js/main.js')
-rw-r--r-- | Code/Train/js/main.js | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Code/Train/js/main.js b/Code/Train/js/main.js new file mode 100644 index 0000000..af75cf7 --- /dev/null +++ b/Code/Train/js/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 | ||