Ever increasing circles
You are to create a simple animation which will draw a slowly increase circle, starting from the centre of the screen. You will need to use the HTML 5 canvas tag as well as the setInterval() javascript method.
http://www.w3schools.com/jsref/met_win_setinterval.asp
The circle should start off small in the centre of the screen. It will then slowly get bigger. You may wish to use the following structure –
function interval(){
increaseSize();
drawCircle();
}
setInterval(“interval()”, 500);
http://www.html5canvastutorials.com/tutorials/html5-canvas-circles/
You will need to use a variable to keep track of the size (or maybe two!).

You need to log in or create an account to submit code!











