nathanemyers / glitch

Create and Experiment with PNG image glitching

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

glitch

Installing Ruby on OSX

Don't use system ruby on OSX because it's hooked into everything.

Ruby 3.0.0 does not work with newer versions of mySQL, use 2.7.0

\curl -sSL https://get.rvm.io | bash -s stable --ruby
rvm install 2.7.0

Backend Installation

gem install bundler
brew install imagemagick
bundle install

Frontend Installation

cd /app
npm i

Running from Command Line

A simple command line runner is available to create either a single or 100 glitched images. A random image will be selected from /input and the resulting glitch will be put in /output

./runner.rb

Running the API

ruby server/app.rb

Gallery

About

Create and Experiment with PNG image glitching

License:MIT License


Languages

Language:JavaScript 47.1%Language:Ruby 47.0%Language:HTML 5.9%