Join the social network of Tech Nerds, increase skill rank, get work, manage projects...

How to draw different shapes with canvas?

Hello readers, today we will discuss canvas element for drawing different shapes like triangle and square.  Canvas element of HTML is used to draw graphics on the web page. In my example, I am using this element to draw a triangle and square...

Chapter 4: HTML5 Canvas

Hello Readers,   To learn canvas you have basic understanding of HTML and JavaScript. The HTML5 <canvas> tag gives you way to draw graphics via scripting (JavaScript). You can use it for photo compositions, graph and animation. Al...

Taking Screenshots

Hello everyone!! Today, we will learn how to take screenshots in HTML 5. HTML 5 provide a method called ctx.drawImage(video, 0, 0), by the help of this  method we can take screenshots of the video and save it. In ...

Differentiate between SVG and Canvas

SVG stands for Scalable Vector Graphics it is an XML based image format which is basically used to define 2D vector graphics for the web. A vector image can be resized to any extent without destroying the image quality. SVG images are repres...
Sign In

Sign up using

Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: