GithubHelp home page GithubHelp logo

snorpey / jpg-glitch Goto Github PK

View Code? Open in Web Editor NEW
1.2K 44.0 106.0 985 KB

glitch images with jpg encoding

Home Page: http://snorpey.github.io/jpg-glitch/

License: MIT License

JavaScript 90.78% CSS 8.00% HTML 1.21%
glitch-art glitch-canvas glitch-images glitch webapp pwa image-processing

jpg-glitch's Introduction

image glitch experiment

this is an experiment for the web browser. it corrupts jpg images so that they appear "glitched".

glitch experiment screen shot

online demo

this experiment is very much based on the smack my glitch up js script.

a desktop app of the jpg-glitcher is also available. you can download it here.

glitch effect code

if you're a developer and just interested in the code for the glitch effect, there's a separate repository for that: glitch-canvas.

third party code used in this experiment

license

MIT License

development

if you're interested in adding features, fixing bugs the code, or running the tool on your own server, here are some pointers to help you get familar with the code base.

if you have questions about the code, don't hesitate to open an issue or send me an email.

  • config.js: all defaults and settings are in here
  • glitcher.js the main app starting point. all events are hooked up in here.
  • the app does not use any big dom libraries or app frameworks (like jquery, angular or react)
  • where possible, the app uses webworkers for complex tasks
  • all strings that are displayed to the user are located in the lang/ folder. for each language, a different file is created.
  • the app uses a serviceworker to make it available offline in browsers that support it
  • the app was built without any preprocessors in mind. using the build script is entirely optional and not required to get the app to work.

build script

the build script takes care of concatenating and minifying all scripts and styles. it uses gruntjs.

please make sure that both nodejs and npm are set up properly] on your machine.

run npm install to install the dependencies of the build script.

to build, run npm run build the optimized files will get copied to the production/ folder.

missing something?

found a bug? missing a feature? instructions unclear? are you using this tool in an interesting project? maybe have a look at the issues, open a pull request and let me know. thanks!

most importantly

thank you for taking a look at this repo. have a great day :)

jpg-glitch's People

Contributors

iblech avatar snorpey 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  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

jpg-glitch's Issues

A little translate issue

This is not important but on the russian noun that means control it is written in the plural.
"УПРАВЛЕНИЯ" - wrong
"УПРАВЛЕНИЕ" - good
capture

add download button

add a download button to the workspace where appropriate so users don't have to open the menu first.

fix empty notification message issue

sometimes, if a translation file was unable to load, it shows a notification with undefined as text. not cool. don't show this empty notifications. even better: fix the non-loading notifications.

Blank page in Firefox

Nothing is displayed.
The error in the console shows:
NS_ERROR_UNEXPECTED: jpg-glitch:1:0

Errors after compiling the production build

Hey,

After building the production version there are a lot of problems with missing files and incorrect paths. Is there anything that needs amending in the scripts?

Thanks for the project by the way!

Thanks,

Trying to run

Sorry I'm a code novice, so please forgive my ignorence. I'm trying to get to get this to run locally using Chrome or Waterfox. I can get it to load into Chrome and see the initial loading prompt, but then get a DNS_PROBE_FINISHED_NXDOMAIN error. When I try to load this into Waterfox, It will not load anything. Do you have any better suggestions for loading and running locally? I love this script as well as your triangulation script. I use them often for my art and would love to use them running locally. Thanks!

Action required: Greenkeeper could not be activated 🚨

🚨 You need to enable Continuous Integration on Greenkeeper branches of this repository. 🚨

To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because it uses your CI build statuses to figure out when to notify you about breaking changes.

Since we didn’t receive a CI status on the greenkeeper/initial branch, it’s possible that you don’t have CI set up yet.
We recommend using:

If you have already set up a CI for this repository, you might need to check how it’s configured. Make sure it is set to run on all new branches. If you don’t want it to run on absolutely every branch, you can whitelist branches starting with greenkeeper/.

Once you have installed and configured CI on this repository correctly, you’ll need to re-trigger Greenkeeper’s initial pull request. To do this, please click the 'fix repo' button on account.greenkeeper.io.

add save button

move save button out of menu so users don't have to open the menu first

Run locally?

Perhaps I am missing something, but I can't seem to get this to run locally on my machine. For a reason unknown to me, I can't seem to open any image within the app.

Any ideas?

Two improvements...

This is such a fun image glitcher. I use this very often (so much so that I have an offline copy which I messed around with). I managed to multiply everything by 10, and the glitches were extraordinary at iteration counts of 100 and above - until the grey pixels set in:

thesystem-glitched-a0-s204-i500-q133

Is there a way of reducing the grey pixels whilst keeping the images glitched? I would love to have something like this: (http://blog.soulwire.co.uk/laboratory/flash/as3-bitmapdata-glitch-generator), but the image is made smaller when using that one and it's a bit less comprehensive.

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.