Skip to content
 
 

Latest commit

 

History

28 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Glitch Shuffle An express app that abides by the revist.link spec. and glitches out images according to a random shuffle alorithm!

##Installation:

  • npm install -g nodemon
  • npm install
  • cp local.json-dist local.json

##Usage:

  • npm start

The API provides a single /service endpoint to POST an image to, which responds with the image as modified by the shuffle algorithm.

The shuffle algorithm generates between 5 and 10 vertical cut points, slices the image into pieces at these points, then randomly rearranges the pieces.

eg. sample shuffled image

This also comes with a sample client interface for posting images to, located at /.

By default the app runs on port 80, this can be configured in local.json.

About

A wee express app that will glitch images and accept requests/responses as spec in revisit.link/spec.html

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages