← back to the blog
fousa tag
Current tag: tag
2009
20
OCT
Canvas drawing
This is just an example of how I created the image below. The image is drawn using the canvas tag in HTML5. var canvas_element = document.getElementById("canvas_element"); var canvas_context = canvas_element.getContext("2d"); // Draw body path canvas_context.beginPath(); canvas_context.moveTo(50, 250); canvas_context.lineT...