diff options
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 | ||