{"id":15718272,"url":"https://github.com/sajattack/glitch","last_synced_at":"2025-05-07T08:32:47.156Z","repository":{"id":32571256,"uuid":"36154134","full_name":"sajattack/glitch","owner":"sajattack","description":"Randomly changes binary file data in order to create glitch art.","archived":false,"fork":false,"pushed_at":"2020-02-10T19:49:43.000Z","size":12287,"stargazers_count":54,"open_issues_count":0,"forks_count":11,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-01T00:47:57.309Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sajattack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-24T03:32:02.000Z","updated_at":"2024-03-05T14:30:18.000Z","dependencies_parsed_at":"2022-09-01T11:00:14.073Z","dependency_job_id":null,"html_url":"https://github.com/sajattack/glitch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sajattack%2Fglitch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sajattack%2Fglitch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sajattack%2Fglitch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sajattack%2Fglitch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sajattack","download_url":"https://codeload.github.com/sajattack/glitch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252842990,"owners_count":21812780,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-03T21:52:37.027Z","updated_at":"2025-05-07T08:32:47.121Z","avatar_url":"https://github.com/sajattack.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# glitch.py\nRandomly changes binary file data in order to create glitch art.\n## Usage\n```\npython glitch.py \u003cinfile\u003e [percent] [outfile]\n        \n\tinfile: the file to take as input\n\t\t\n        percent: the percentage of the file to corrupt, by default, 0.1%\n\t\t\n        outfile: the file to output, by default \u003cfilename\u003e-glitched.\u003cfileext\u003e\n```\n\nPlay around with different values for percent, 0.1 seems to work okay for most image formats, 0.01 worked okay for video.\nAlso, try different filetypes and share your results!\nI noticed different image viewers sometimes perform differently with these glitched images. They either display the image differently or not at all.\nWindows Photo Viewer worked best for me. As a result, I usually screenshot the glitches from Windows Photo Viewer so they always display \"correctly\".\n\n## Examples\n![glados-original](/examples/glados.gif)\n\n![glados-glitched](/examples/glados-glitched.gif)\n\n![peacemaker-original](/examples/peacemaker.jpg)\n\n![peacemaker-glitched](/examples/peacemaker-glitched.jpg)\n\n![reaper_core-original](/examples/reaper_core.png)\n\n![reaper_core-glitched](/examples/reaper_core-glitched.png)\n\n![securitay-original](/examples/securitay.jpg)\n\n![securitay-glitched](/examples/securitay-glitched.jpg)\n\n![watch_doge-original](/examples/watch_doge.jpg)\n\n![watch_doge-glitched](/examples/watch_doge-glitched.jpg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsajattack%2Fglitch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsajattack%2Fglitch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsajattack%2Fglitch/lists"}