<commit_before>image glitch experiment
===

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

[![triangulation experiment screen shot](http://dl.dropboxusercontent.com/u/1098704/Screenshots/github-glitch.png)](http://snorpey.github.io/jpg-glitch/)

[online demo](http://snorpey.github.io/jpg-glitch/)

this experiment is very much based on the [smack my glitch up js](https://github.com/Hugosslade/smackmyglitchupjs) script.

third party code used in this experiment
---<commit_msg>update readme copy.<commit_after>image distortion experiment
===

this is an experiment for the web browser. it distorts images by dividing the image into a grid and then distorting it by calculating the contrast in every cell of the grid.

[![distortion experiment screen shot](https://dl.dropboxusercontent.com/u/1098704/Screenshots/github-contrast-distort.png)](http://snorpey.github.io/jpg-glitch/)

[online demo](http://snorpey.github.io/contrast-distort/)

some parts of the warping code are taken from [@migurski](https://github.com/migurski)s [canvas warp demo](https://github.com/migurski/canvas-warp/blob/master/index.html) and [@canvastag](https://twitter.com/canvastag)s [implementation](http://jsdo.it/canvastag/y56M).

third party code used in this experiment
---
{'fraction_non_alphanumeric': 0.1246177370030581, 'fraction_numerical': 0.012232415902140673, 'mean_word_length': 5.060185185185185, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 5, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6213082', 'n_tokens_mistral': 434, 'n_tokens_neox': 404, 'n_words': 113}