Here's an example of a page that has a canvas element behind the rest of the content. Using scripts you can draw some sort of animation or active content, and it will be visible as a dynamic background.
In this particular example I added a radial gradient that follows the mouse as it moves.