8000 GitHub - jarwols/gif-generator: Draft for GIF Generator
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

jarwols/gif-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GIF Generator

Alt Text

A client-side GIF generator for producing Bay Bridge Light GIFS. Runs on @jnordberg's client-side GIF generator.

Running Locally

Make sure you have Node.js and the Heroku Toolbelt installed.

$ npm install
$ npm start

Code for the generation can be found in here.

Your app should now be running on localhost:5000.

GIF Generation

The GIF Generator is to be used as an embed on share-donation component of SIF.

/giffy The /giffy path accepts three query params:

  • nodeX position of a light
  • nodeY position of a light
  • light number

Utilizing a 1:4 scale mapping based on the coordinates in use for [lights.py] on bay-lights-api and @jnordberg's client-side GIF-generator, the client generates a 20-frame gif using canvas frames and web-workers. Canvas draws expanding circles along with a title constructed using websafe font. The result is uploaded to filestack, and the Blob URL is extracted for a SendGrid template e-mail. To preserve browser security, all download links have been removed to opt for server-side e-mailing. Users on non-Safari/mobile browers can right-click to save.

/imagify The /imagify path accepts four post items:

  • image URL
  • Recepient Name
  • Donator' E-mail
  • Light #

Utilizing a SendGrid template e-mail, Donator is shipped off an HTML-rich e-mail with image src embedded.

About

Draft for GIF Generator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0