Tuesday, February 28, 2012

Homework 13rd February

Hey guys,

some of you have asked me to send a scripting exercise for you to try before our next tutorial (which we could organise on coming Friday or Monday), so here it is. It will refer to a few of the things that we've spoken about recently - looping, copying, simple vectors, etc.


1. Draw rectangle in script with dimensions which are set by the user.
2. Fill the rectangle with a set number of ellipses (for example 10 rows of ellipses in 10 columns) as shown in image attached. The ellipses must fit exactly!

So basically, the size of our ellipses (height and width) is adjusted to fit the box, whatever its size.


No comments:

Post a Comment