PS3 MDDN 242 2018

Color Glyphs - Idea + Problems

Looking at my code I still had some trouble figuring out how to get the random and everything that isn’t the edit to work properly as the lines and circles weren’t drawing in the correct places. I ended up asking a tutor about it to see what the problem was and they said that it was because the values weren’t related the size so everything has be related to the size to work and that I needed to simplify the shift as well. I first started with correcting the drawing values in the rectangles and the circles so that they were all related the size which was easy to do I just had to remove the number in the leg and put size/ insert number here. Figuring out the numbers took longer than I thought as it was so nit-picky. When I checked the random again it still didn’t work but it was closer. So I then went onto the let y and x shifts. I removed the let shift and fraction mess and simplified it. I had no idea what to do at first so I just played around to see what would work and eventually I got it somewhat close. Finding the correct number to divide by took a long time as nothing seemed to work so a suggestion from a peer was to just make it really big or small and see how that works. That seemed to do the trick I made it 2000 and it drew the circles in the correct place. I wanted the circles to go towards the centre however two of then they didn’t but it turned out that my problems was the I had put the minus in the wrong place as pointed out by someone so I fixed it and it work! So far I have the four circles working correctly in random. Now I need to fix the one line that has a mind of its own. Hopefully that is a simple fix. The only thing tht worked was the ring that grows.