Coder Social home page Coder Social logo

boom_amazing's Introduction

Boom Amazing...

... is a web application that allows you to zoom/rotate/pan around in an image, record the different positions and then replay those for a presentation.

The image can be either a pixel based format e.g. png/gif/jpg, an svg file or a pdf.

Boom Amazing uses CouchDB to store its data and CouchApp to upload itself into CouchDB. (Since CouchDB has a built-in web server everything is served directly by CouchDB)

Running it

Installation Using CouchApp

  • Install CouchDB
  • Install CouchApp (requires Python)
  • Clone the Boom Amazing Repo
  • push the app to a CouchDB database by changing to the checkout and running couchapp push

Replication

Alternatively you can just replicate an existing database that contains boom amazing. The easiest way to to this is to use Futon (http://localhost:5984/\_utils), click on Replicate on the right and choose a source database and a local destination.

I host one boom amazing installation on my couchone account, so you can just replicate from there: http://langalex.couchone.com/boom\_amazing

Using it

  • create an empty document in the boom_amazing database and upload your svg/png/gif/pdf file, for example using Futon (http://localhost:5984/_utils)
  • Go to http://localhost:5984/your\_db/boom\_amazing/\_design/boom_amazing/index.html
  • Choose your presentation from the dropdown in the toolbar
  • Start moving around, click save to record a position ("add a slide")
    • hold down [alt] and move the mouse up/down to zoom
    • hold down [ctrl] and move the mouse left/right to rotate
  • Replay the saved positions by clicking the next/previous links in the toolbar at the top
  • Hack the code, add something awesome, share it on GitHub

URLs

pixel vs. svg vs. pdf presentations

  • pixel images make it easier to embed photos, better performance, but you can see the pixels at some point
  • svg can zoom in infinitely, but performance problems with more complex presentations
  • creating svg files on the mac is a pain, so i added pixels
  • new: PDFs. pdfs combine the best of both worlds: you have unlimited zoom for vectors and can still embed pixel based images. also: the rendering performance compared to svg/pixels is just amazing. i highly recommend using pdfs.

Contact

Alexander Lang [email protected] http://twitter.com/langalex

Disclaimer

Currently this only runs on relatively new Webkit version that support the webkit-transform and webkit-transform-origin CSS properties.

Ideas

  • use the browser's LocalStorage instead/in addition to CouchDB so this could run on e.g. iPads
  • support gestures for zoom/rotate instead of holding down keys

boom_amazing's People

Contributors

fronx avatar langalex avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

boom_amazing's Issues

Convert pdf pages to slides?

When you upload a pdf document, is it suppose to create a slide for every page in the pdf?

I seem to only be seeing the first slide.

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.