diff options
author | JinweiClarkChao <[email protected]> | 2014-09-23 22:34:14 +0800 |
---|---|---|
committer | Jinwei Zhao <[email protected]> | 2017-01-13 15:07:44 +0800 |
commit | b214f38d2c24a890ce36512a0c8bab965e27a508 (patch) | |
tree | 1522b651444407cbf120798e79be4657f1b472ab /Code/Blocks/main.js | |
parent | e13882d1656b143533cec307a19425e0a56ec999 (diff) | |
download | jinwei.me-b214f38d2c24a890ce36512a0c8bab965e27a508.tar.gz |
README
Diffstat (limited to 'Code/Blocks/main.js')
-rw-r--r-- | Code/Blocks/main.js | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/Code/Blocks/main.js b/Code/Blocks/main.js new file mode 100644 index 0000000..ff65105 --- /dev/null +++ b/Code/Blocks/main.js | |||
@@ -0,0 +1,39 @@ | |||
1 | var myName = "@spearmint"; | ||
2 | |||
3 | |||
4 | |||
5 | var red = [0, 100, 63]; | ||
6 | |||
7 | var orange = [40, 100, 60]; | ||
8 | |||
9 | var green = [75, 100, 40]; | ||
10 | |||
11 | var blue = [196, 77, 55]; | ||
12 | |||
13 | var purple = [280, 50, 60]; | ||
14 | |||
15 | var letterColors = [red, orange, green, blue, purple]; | ||
16 | |||
17 | |||
18 | |||
19 | drawName(myName, letterColors); | ||
20 | |||
21 | |||
22 | |||
23 | if (10 < 3) | ||
24 | |||
25 | { | ||
26 | |||
27 | bubbleShape = 'square'; | ||
28 | |||
29 | } else | ||
30 | |||
31 | { | ||
32 | |||
33 | bubbleShape = 'circle'; | ||
34 | |||
35 | } | ||
36 | |||
37 | |||
38 | |||
39 | bounceBubbles(); \ No newline at end of file | ||