Documentation 06

// Process


This week I was mostly checking the previous codes I wrote and deciding which one I should use to presnt. I originally wanted to use the pattern one I did using for loops so I started with editing that part. I noticed there was a very significant problem that need fixing in that code, which is the range I set up for the for loop calling the “flawedData”. Since I wanted it to increase with time, I made the maximum range a movement increase with it. Yet, i didn’t set up a boundary. So I added constrain to it in order to avoid it eventually crashing my computer. Still, I later decided to use the other code I wrote mostly using portable functions for the presentation.
fig 6.1 adding constrain to the for loop’s increasing range
So for the clock I made using portable functions, I reorganized the second appearances shown in the clock by making a class of them. 

fig 6.2 reorganizing the Second object into a class
I also tweaked the starting angle of the arc showing the minute change by replacing 0 with the hour’s variable, so its showing both the hour and the minute, which makes the message delivered more clearly.


Added the removing function to the code to make it more interacitve.