Thursday, 14 April 2011

Creating my first Transformation

Development 2:
Now that I have selected the area and tested it, i now want to draw my first three circles in the centre of the big black circle. This has taken me a long time to figure out. Originally I was told to use mathematics and the area of pie in order to work it out. I am shocking at Maths therefore have decided to try another method. I have used rotation and transformation in order to place the circles evenly inside the circle with the same distance from the center. I made the center point the center of the circle which is a point the I know and then from there drew and then rotated and transformed three times. Although i don’t know the points they are now drawn inside the circle perfectly and i think i can apply the same method of transformation in order to make the circles bigger and in a different place once the mouse is clicked. I Have finally worked out how to do the first step and how to apply transformation! YUSS!
Development 3:
So in trying to rotate the circle I have experimented with lots of code and ended up with several weird results. Its proving harder than I thought to make the centre circle smaller and transform the middle circles and enlarge them.
This is an example of my trial and error


After hours of trial and error, (which shows me that learning the skills I need to know for this project is going to be very, very, time consuming), I have finally figured out how to make the if statement draw what I want it to draw. This was using more transformation and adjusting size.


No comments:

Post a Comment