Computer Science Background Effect with HTML5 Canvas

Use Case: To bring visual interest to your web page

One of the most popular use-cases for HTML5's Canvas tag is background effects and animations. There are a lot of really neat examples of how front-end developers have manipulated Canvas to create some stunning effects.

Here's a simple implementation for how you could bring life to a background image using Canvas:

JavaScript

// Example code to come

Tweet me @tylerewillis

Or send me an email: