Swimming fish


This script displays a swimming fish in your browser window. When the fish hits a wall he "turns" around and goes the other way.

Instructions:



1: Copy and paste the following javascript tag just before the end of the BODY section of your page:
Select all...


2: Upload both fish graphics and the fish.js file to your server.


3: Edit the js file and change the settings near the top of the script. You can change the fish graphics and how the fish "behaves".