Access and use a canvas context engine using the makeAnimation factory
To note: Javascript is not running in this browser environment. Our apologies, but this demo has not yet been updated to support progressive enhancement.
Test purpose
- Define a function which uses CanvasRenderingContext2D API instructions to draw a shape on the canvas.
- Use the renderAnimation factory function to create a Display cycle which makes use of our drawing function to animate the shape.
Touch test: not required
Annotated code