Giter VIP home page Giter VIP logo

impressive's Introduction

Motivation for the impress!ve fork

impressive is the best software available on linux for showing PDF based presentations.

Macs have the perfect presentation software: while an external beamer shows the slide you are talking about, your notebook shows

  • the current slide
  • the next slide
  • time elapsed for the current slide
  • total elapsed time

This is exactly what I need and what impressive is unfortunately missing - the dual monitor feature.

impressive is written in python and uses OpenGL for rendering, so I thought, I'll add the desired feature.

Dual-Head support

My fork provides a new command line option dual-head. On my notebook I typically run the presentation tool with

/path/to/impressive.py -t None \
  --dual-head 1024x768+1280+31,1280x800+0+0 \
  pres.pdf' 

because

  • my notebook has a screen resolution of 1280x800
  • typical projector has a resolution of 1024x768
  • I use xrandr and big screen, where the display area of the external output is to the right of the notebook display, this leads to horizontal offset of +1280
  • OpenGL coordinates use bottom left corner, so we normally would need a vertical offset of +32 (=800-768)
  • but I had to adjust it by one pixel to remove an unsightly border at the bottom of the slide - some rounding problems or OpenGL anomaly
  • so the leads to the offset of +1280+31 for the external output (projector)

Please note: the new feature is not compatible with all the other options of impressive, that deal with resolution, picture size and screen size detection. Transitions also do not work. This because the implementation of impressive is so complicated, that it is not possible to introduce an implementation for a new cross cutting concern without breaking everything.

Restructure

I hope, someday I have enough time to refactor the original implementation and implement following ideas:

  • a single file is an advantage, but a file of 4000 lines length is probably not
  • swap optional stuff like implementation of transitions out, so they can be included with import if needed
  • make the whole thing more modular and organize it as a set of functions, that can be tied together with a small wrapper script; everybody could write its own integration script using units like
    • parse PDF
    • render one slide to a rectengular area
    • show text on OSD
    • caching
    • overview mode

About

More about presentations for geeks can be found on my blog http://blog.geekq.net/2009/03/29/impressive-presentation-for-geeks/.

impressive's People

Contributors

geekq avatar

Watchers

 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.