Multiple Canvas Objects (CE5)

I have taken a copy of Canvas Experiment 2 which grows and shrinks a circle and called it Canvas Experiment 5. Here is the full .js script of the growing and shrinking circle with annotation: //set a variable and use the querySelector method to target the canvas tag in the HTML var canvas = document.querySelector(‘canvas’); […]

Canvas Experiments 1-4

Here are my first experiments with canvas: Canvas Experiment 1 – Bouncing ball from Lis, 2017 tutorial. Canvas Experiment 2 – Modified bouncing ball, growing and shrinking. Canvas Experiment 3 – With randomisation of colour and size. Canvas Experiment 4 – Modified bouncing ball with audio. The canvas is a HTML element that I have […]