From b214f38d2c24a890ce36512a0c8bab965e27a508 Mon Sep 17 00:00:00 2001 From: JinweiClarkChao Date: Tue, 23 Sep 2014 22:34:14 +0800 Subject: README --- Code/Blocks/main.js | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 Code/Blocks/main.js (limited to 'Code/Blocks/main.js') 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 @@ +var myName = "@spearmint"; + + + +var red = [0, 100, 63]; + +var orange = [40, 100, 60]; + +var green = [75, 100, 40]; + +var blue = [196, 77, 55]; + +var purple = [280, 50, 60]; + +var letterColors = [red, orange, green, blue, purple]; + + + +drawName(myName, letterColors); + + + +if (10 < 3) + +{ + + bubbleShape = 'square'; + +} else + +{ + + bubbleShape = 'circle'; + +} + + + +bounceBubbles(); \ No newline at end of file -- cgit v1.2.3