A quick look at html 5 and animation
- Download this text file called html 5
- Unzip and rename the html5.txt to html5.html
(double-click on the file slowly)
- Open the file with a browser and observer
- Now open with a text editor (I prefer Dreamweaver) If you you use text edit, make sure it's in Plain Text format
- Don't panic...it's only code.
- Try to make some simple changes:
- Change the color of the moving square
- Change the velocity
- Change the position and size of the square
- Change the size of the canvas
- Change the color of the canvas
- How does this relate to Flash? How can knowing Flash help us in working the code here?
- Check out this website for more simple html 5 examples