HTML5 Canvas
Modified 2023-08-30
- required to close the tag
</canvas> - grab the rendering context
getContext('2d')for simple graphics or use WebGLgetContext('2d')for advanced graphics
Modified 2023-08-30
</canvas>getContext('2d') for simple graphics or use WebGL
getContext('2d') for advanced graphics