diaporama

2.2.0 • Public • Published

Diaporama

Diaporama is an image/video/content slideshow engine providing high quality animation effects including Kenburns effect and GLSL Transitions.

-> DEMO <-

Related Projects

Diaporama Key features

  • Minimal and unopinionated library. Diaporama focuses on rendering the slideshow. Up to you to hook it to any event (window resize, touch events, keyboard,...) based on your needs.
  • Responsive: Diaporama works with any resolution and any ratio. The original image ratios are always preserved (crop to fit).
  • Simple API. the Diaporama API mimic the HTML5 Video API for a better learning curve. You can set some Properties and the library will always be in sync with your changes (and update efficiently with the minimal changes). There is also Events.
  • Easily interoperable with Virtual DOM library.
  • Videos support. allowing to define multiple video formats and image fallback.
  • Kenburns effect on images with configurable animation from/to and easing function.
  • Customizable transition effects using GLSL Transitions created on GLSL.io (or your own)
  • Works everywhere. Diaporama is implemented with WebGL (hardware accelerated) but also have DOM fallback.
  • The slideshow is described in a JSON format.
  • Retina-ready. By default, the library use devicePixelRatio as canvas resolution. N.B.: This has a cost in term of performance, so if you want you can just give 1. You can also responsively adapt it based on the canvas area.
  • Texts, Images and Shapes support – using slide2d which exposes everything Canvas can do.

Gitbooks Full Documentation

http://gre.gitbooks.io/diaporama/content/

Current state of browser support

Diaporama should be widely supported by browsers (desktop and mobile). If WebGL is not supported by the browser/hardware, it fallbacks properly to DOM implementation (an opacity transition is used).

Here are the current browsers I've been testing on

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.2.037latest

Version History

VersionDownloads (Last 7 Days)Published
2.2.037
2.1.11
2.1.01
2.0.00
1.6.15
1.6.00
1.5.40
1.5.31
1.5.20
1.5.02
1.4.00
1.3.10
1.3.01
1.2.01
1.1.191
1.1.180
1.1.170
1.1.160
1.1.150
1.1.141
1.1.130
1.1.120
1.1.110
1.1.100
1.1.90
1.1.81
1.1.70
1.1.30
1.1.20
1.1.10
1.1.00
1.0.11
1.0.01
0.2.31
0.2.20
0.2.11
0.2.01
0.0.01

Package Sidebar

Install

npm i diaporama

Weekly Downloads

58

Version

2.2.0

License

ISC

Last publish

Collaborators

  • gre