diff options
author | JinweiClarkChao <[email protected]> | 2014-08-22 17:23:02 +0800 |
---|---|---|
committer | Jinwei Zhao <[email protected]> | 2017-01-13 15:07:42 +0800 |
commit | 80255411ee7040e0cebbf6b05d2ce323f6f2596e (patch) | |
tree | 295b0ef6c85e7cb091b63719ab041596879690fa /Back/Blocks/main.js | |
parent | 13be3d058713e1467ffc573a90cc694b80526135 (diff) | |
download | jinwei.me-80255411ee7040e0cebbf6b05d2ce323f6f2596e.tar.gz |
backup
Diffstat (limited to 'Back/Blocks/main.js')
-rw-r--r-- | Back/Blocks/main.js | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/Back/Blocks/main.js b/Back/Blocks/main.js new file mode 100644 index 0000000..ff65105 --- /dev/null +++ b/Back/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 | ||