/virtual-aquarium

JavaScript animation of various ocean creatures "swimming" across the screen

Primary LanguageJavaScriptMIT LicenseMIT

virtual-aquarium

A simple JavaScript animation of some swimming fish (demo link), which is essentially an add-on to/more complicated version of my swimming whale animation.

Ultimately, the goal is to have multiple fish swimming across the page. In its current stage you can select your fish type from 4 options but it will replace the previous fish rather than adding a new one.

The images used in this animation are from OpenClipart.org:

The images can be easy replaced with any other image (as long as it's small enough to fit on the page and have room to move) to create a custom animation for your webpage. The motion of the image will adjust automatically based on the image's width and height.