GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - jon-moreira/JZoopraxiscope: A jQuery plugin for animations from static images. It is inspired in Eadweard Muybridge's Zoopraxiscope.

BranchesTags
Open more actions menu

Latest commit

 

History

19 Commits
19 Commits

Folders and files

NameName
Last commit message
Last commit date
example
example
 
 
media
media
 
 
src
src
 
 
.project
.project
 
 
CCA-LICENSE
CCA-LICENSE
 
 
GPL-LICENSE
GPL-LICENSE
 
 
LICENSE
LICENSE
 
 
MIT-LICENSE
MIT-LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

JZoopraxiscope

http://www.cobalys.com/open-source/jzoopraxiscope.html https://github.com/cobalys/JZoopraxiscope

Animate static image sequences with this jQuery plugin.

JZoopraxiscope is a jQuery plugin for making animations from static images inspired in Eadweard Muybridge's Zoopraxiscope.

Requirements

  • JQuery
  • JQuery UI
  • An image representing the sequence to be animated

Browser Compatibility

  • Chrome 18.0.1025.162
  • Mozilla Firefox 11.0
  • Internet Explorer 8
  • Safari 5
  • Opera 11.62

Use

  1. Download JZoopraxiscope and reference the jquery.jzoopraxiscope.js file in your page.

     <script src="jquery.jzoopraxiscope.js"></script>
    
  2. Reference jQuery and jQuery UI libraries from your page

     <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
     <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.js"></script>
    
  3. Prepare the static sequence. Every frame must have the same width and be attached to his previous frame in a horizontal image. Refer to the included file 'jzoo.jpg'

+------------+------------+------------+------------+
|  Frame 1   |  Frame 2   |  Frame 3   |  Frame 4   |
+------------+------------+------------+------------+
  1. Define the options

     	var optionsAnimation = {
     		'widthItem' : 380,
     		'widthImage' : 4560,
     		'height' : 306,
     		'image' : 'images/jzoo.jpg'}
    

    widthItem: Width of every frame.
    widthImage: Width of the entire image.
    height: Height of the image.
    image: Location of the image. Use relative or absolute path, relative paths are related to the html document where the plugin is installed.

  2. Initialize a div with JZoo (#animation)

     //Html
     <div id="animation" style="border: 1px solid #999; margin: auto;"></div>
    
     //Javascript
     $('#animation').jzoopraxiscope(optionsAnimation);
    
  3. Control JZoo

     //Play the animation
     $('#animation').jzoopraxiscope('play');
     
     //Stop the animation
     $('#animation').jzoopraxiscope('stop');
    

About

A jQuery plugin for animations from static images. It is inspired in Eadweard Muybridge's Zoopraxiscope.

www.cobalys.com/open-source/jzoopraxiscope.html

Resources

Readme
Activity

Stars

1 star

Watchers

1 watching

Forks

33 forks
Report repository

Releases

Packages

Contributors

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.