From 1bd0af24e05a8d7e71c2cf0464d9c70594a05532 Mon Sep 17 00:00:00 2001 From: JinweiClarkChao Date: Fri, 21 Feb 2014 10:41:34 +0800 Subject: Train --- Train/main.js | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Train/main.js (limited to 'Train/main.js') diff --git a/Train/main.js b/Train/main.js new file mode 100644 index 0000000..af75cf7 --- /dev/null +++ b/Train/main.js @@ -0,0 +1,21 @@ +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