<commit_before>glitch
======

An image glitcher in golang.

Initially this is a more-or-less direct port of http://www.airtightinteractive.com/demos/js/imageglitcher/ while I'm learning Go, but when I'm more confident the glitching algorithms will be rewritten.

All the original javascript algorithms on which the initial build of this project is based were created by <NAME>.

    Usage: glitch [-gbls] input_image output_image
      -b=5: Defines how much brightening to do (0-100) - shorthand syntax
      -brightness=5: Defines how much brightening to do (0-100)
      -g=5: Defines how much glitching to do (0-100) - shorthand syntax
      -glitch=5: Defines how much glitching to do (0-100)
      -l=true: Apply the scan line filter - shorthand syntax
      -s="my.host.name": Seed for the randomiser - shorthand syntax
      -scanlines=true: Apply the scan line filter
      -seed="my.host.name": Seed for the randomiser<commit_msg>Update readme with new frames option<commit_after>glitch
======

An image glitcher in golang.

Initially this is a more-or-less direct port of http://www.airtightinteractive.com/demos/js/imageglitcher/ while I'm learning Go, but when I'm more confident the glitching algorithms will be rewritten.

All the original javascript algorithms on which the initial build of this project is based were created by <NAME>.

    Usage: glitch [-gbls] input_image output_image
      -b=5: Defines how much brightening to do (0-100) - shorthand syntax
      -brightness=5: Defines how much brightening to do (0-100)
      -f=0: Number of frames (only valid for gif output) - shorthand syntax
      -frames=0: Number of frames (only valid for gif output)
      -g=5: Defines how much glitching to do (0-100) - shorthand syntax
      -glitch=5: Defines how much glitching to do (0-100)
      -l=true: Apply the scan line filter - shorthand syntax
      -s="my.host.name": Seed for the randomiser - shorthand syntax
      -scanlines=true: Apply the scan line filter
      -seed="my.host.name": Seed for the randomiser
{'fraction_non_alphanumeric': 0.08378245957863792, 'fraction_numerical': 0.020578147966683, 'mean_word_length': 3.41991341991342, 'pattern_counts': {'":': 4, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '6009894', 'n_tokens_mistral': 650, 'n_tokens_neox': 594, 'n_words': 256}