GithubHelp home page GithubHelp logo

ink2impress's Introduction

Ink2Impress

Ink2Impress is a converter-like script that enables using Inkscape as a GUI for generating Impress.js presentations.

Demo

Basic Ink2Impress demo (result only)

Your demos are welcome!

Usage

  1. Create a new Inkscape document
    • Set the size of the page to the actual pixel-size you want for your presentation.
  2. Make sure you have 2 layers (create if necessary)
    • Bottom layer will hold the graphics
    • Top layer will hold the layout
  3. Create your graphics
    • Remember to keep all the graphical elements inside the page. Graphics outside the page will not show.
  4. Create your layout
    • Each <rect> element in the layout layer will ve a step in the presentation
    • <rect> elements may be contained in groups (<g> elements). You can add other (non-<rect>) elements to the group as annotations. They will not show in the final presentation.
    • Z-Order dictates presentation order (bottom to top)
    • If you add an overview-step, set its id to overview
  5. Save your presentation as plain-svg (not Inkscape SVG)
  6. Run the convertion script
    • python ink2impress.py
    • Make sure js/impress.js is in the same folder as the result
  7. Enjoy!

Dependencies

Code

lxml - XML processing - Use this for precompiled binaries.

impress.js - For the animations in the presentation.

Software

Python2.7 - For running the script. Not tested for other versions.

Inkscape - For presentation creation

ink2impress's People

Contributors

tmr232 avatar

Watchers

Simon Gunacker 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.