Tuesday, 25 September 2012

DSDN142 - The beginning process





After a long time of coding and some help from people, i managed to code it so that each drop hits the top of the water and the water level rises. After discussion with Angela, the idea of making a jar that is filled up with the liquid arose.


The jar is shown in the images below. The code to make the water not go outside the jar was averagely complicated (making an if statement with 4 different things inside the squiggly brackets). The issue arose of the water droplets falling off the edge of the page and resetting, falling from the top of the page and gaining speed. This repeats again and again and makes the image confusing. This is shown in the image at the bottom.

No comments:

Post a Comment