##############################################################################
#                            Animation v1.2                                  #
#                     Server Push Animation Script                           #
#                                                                            #
#                         Scripts Archive                                    #
#                    https://worldwidemart.com/scripts/                      #
##############################################################################

DESCRIPTION
-----------
Animation creates server-push animation using the multipart/x-mixed-replace
MIME type. It cycles through a series of images to create animation effects.

HISTORICAL CONTEXT
------------------
Before animated GIFs were widely supported, server-push was the primary
method for creating web animations. The server would continuously send
new image data to the browser, which would replace the displayed image.

This technique was primarily supported by Netscape Navigator and had
several limitations:
- High server load
- Connection had to remain open
- Limited browser support

REQUIREMENTS
------------
* Web server with CGI support
* Perl 5.x or higher
* Image files for animation frames

PACKAGE CONTENTS
----------------
animation.pl     - Main animation script
README           - This documentation
images/          - Directory for animation frames

INSTALLATION
------------
1. Upload animation.pl to your cgi-bin directory
2. Create 'images' subdirectory with your animation frames
3. Set permissions: chmod 755 animation.pl
4. Edit configuration variables
5. Add to your page: <img src="/cgi-bin/animation.pl">

CREATING ANIMATION FRAMES
-------------------------
1. Create a series of images (image1.gif, image2.gif, etc.)
2. Each image should be the same dimensions
3. Number them sequentially
4. Update the @images array in the script

MODERN ALTERNATIVES
-------------------
For modern animations, use:

* Animated GIF - Simple, widely supported
* CSS Animations - @keyframes, transitions
* JavaScript - requestAnimationFrame, GSAP library
* WebP - Animated WebP format
* Lottie - JSON-based animations
* Video - MP4/WebM for complex animations

Example CSS Animation:
@keyframes example {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

LICENSE
-------
Artistic License

##############################################################################
