GithubHelp home page GithubHelp logo

labibllaca / dizzy.js Goto Github PK

View Code? Open in Web Editor NEW

This project forked from moerphy/dizzy.js

0.0 2.0 0.0 6.86 MB

Prezi-like Presentations without Flash, using SVG and Javascript

Home Page: dizzy.metafnord.org

License: MIT License

CSS 9.53% HTML 10.91% JavaScript 79.57%

dizzy.js's Introduction

dizzy.js

dizzy.js enables you to create non-linear presentations similiar to
Prezi, without using Flash or some other proprietary technology.

For a quick start, try using presenter.html, appending the path of one of the examples as the URL hash.
(Example: <file:///home/erlehmann/src/dizzy.js/presenter.html#examples/upside-down-zoom.svg>)

Usage

SVG

Dizzy makes extensive use of SVG groups. First, “slides” are groups with the class “group” and one or more class “group_n”, where n is a positive integer signifying the position of the “slide” in the presentation. Second, all “slides” have to be in one SVG group with the id “canvas”.

To impress the audience properly, SVG transformations should be applied to the “slide” groups.

Javascript

Just create a new Dizzy object and pass a selector for a dom node thats used as container.
var dizz = new Dizzy(‘#dizzy’);
You can also pass options to the Dizzy() function. See the wiki for a description of all options.
var dizz = new Dizzy(‘#dizzy’, {pannable: true, transformTime: 1000});
Afterwards you can load a new SVG-file with:
dizz.load(‘./file.svg’);
optional pass a callback:
dizz.load(‘./file.svg’,
function(){ // gets executed once file.svg has been loaded.
dizz.show(0); // display canvas untransformed.
} );

To navigate through the presentation just call the methods next(), previous() or show(n) on the dizzy object.

Browser support

See Browser support in the wiki

To do

- Bugfixing
- Zooming and panning
- moar jQuery
- More tools in editor (draw lines, circles, frames..)

License

dizzy.js is licensed under the terms of the MIT License, see “LICENSE” file in repository.

dizzy.js's People

Contributors

moerphy avatar erlehmann avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.