Tag archives for Canvas

HTML5

Learn How to Create the Classic Snake Game With the Canvas API and the HTML5/JavaScript Duo

If you've never played the famous Snake game, raise your hand! I say that, but I suppose that nowadays, the new generation may never have heard of this game, which may seem a bit old-fashioned given the possibilities offered by today's computers and the Web. And yet, there was a time when the Snake game was a game that all…
Continue Reading
Android

Learn to draw an Analog Clock on Android with the Canvas 2D API

To learn to use the Canvas 2D API, a good exercise is to draw an Analog Clock on Android. In this tutorial, you are going to discover how to create this kind of Clock and you will see some basics like creating a custom view and draw on a Canvas. Note that you can enjoy this tutorial in video on…
Continue Reading