How-To Geek
8-Bit Video Game Style Color Cycling in HTML 5
Do you remember how those retro video games used to have backgrounds with animated water or fire? They used a technique called color cycling, which is now possible on the web thanks to HTML 5.
The general idea of color cycling is that older video games were in an era that didn’t have access to a ton of colors and horsepower, so instead programmers would cycle the color palette, which made the image appear to change or animate… but it was really just colors changing.
Here’s how one programmer used the new HTML 5 technologies to implement the same thing in your web browser… and it’s rather interesting to look at.
Got Feedback? Join the discussion at discuss.howtogeek.com
Comments (3)
Programmer by day, geek by night, The Geek, also known as Lowell Heddings, spends all his free time bringing you fresh geekery on a daily basis. You can follow him on Google+ if you'd like.
- Published 08/2/10




Hey, cool!
Yes cool very much!
Use HTML color picker if you need to choose from an almost infinite variety of colors. Also, if you like a color scheme of a web page view Tip142 for a fantastic tool that can be used to gather that page’s color codes.