Hi World,

I’m gonna begin with something to remind me.

FOR LOOP SINTAG

For (var BEGIN; END; INTERVAL){
DO SOMETHING }

WEEK3 Quiz

1.Write pseudo-code to move a circle back and forth across the middle of the canvas.
Week3 Quiz1

2.Divide the canvas into 3 vertical areas. Hovering over each area changes the background color.
Week3 Quiz2

3.Redo Question 2 except with 10 vertical areas.
Week3 Quiz3

For a project with Brandon, We planed to meet up every and see how we can do. First 3 times we just sit down looking to each other and decided to watch tutorials again and again. But it doesn’t waste a time tho. We finish all quiz and kinda know what we want to do at the 3rd time. We came up with the idea of separate design part and slider function part. I did the algorithmic design part with the idea of using loop function. I had a lot of failed. It didn’t come out as my plan. Here is some of them.
Screen Shot 2016-09-25 at 6.16.34 PM
i kinda like this error actually

Screen Shot 2016-09-25 at 6.30.56 PM

Screen Shot 2016-09-25 at 6.34.24 PM

Finally, they came up a bit better. Still not my plan but we both decided to use it. here is some of not successful golden section rectangle.

Screen Shot 2016-09-25 at 6.42.23 PM

Screen Shot 2016-09-25 at 7.16.50 PM

Screen Shot 2016-09-26 at 7.18.18 PM

Screen Shot 2016-09-26 at 7.17.31 PM

here is my final algorithm design.
>>> Tiri final algorithm

ANNNNNNNNDDDDDDD the hardest part is…… to combine my design with Brandon’s slider.
We try a lot of way to combine them but they failed. we have no idea what error came from and what should we search for that.. what we gonna write? We used 6 hours to figure out. (oh we had 2 breaks for eating haha) We didn’t get that until the 2nd years came to take a photo of my funky keyboard and ask why i have to do that.. (my friend spilled water on my keyboard and it broke hahaha) and then we asked him to help(he might sad to come to see my keyboard tho hahahahahahahahah) and then he figured out that!!!! yay!!!!! so here is what he did.

>>> TIRI BRANDON ROLLOVER ALGORITHM

and slider one is

>> TIRI BRANDON SLIDER ALGORITHM

so the thing that he had done. he put a new value in out new function that we created. so it will call all the actions that we type it.

here is Brandon’s blog
>> BRANDON THE MAN!!!!

and yes…. Thank you my keyboard .. you save our lives!!!

IMG_4332

Good night world, peace, bye, see ya <3 , T