Skip to content

brenna/glitch-shuffle

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 84.2%
  • CSS 15.8%