Skip to content

daanisharif/glitch

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#glitch.py Randomly changes binary file data in order to create glitch art. ##Usage ./glitch <infile> [percent] [outfile]

	infile: the file to take as input
	
    percent: the percentage of the file to corrupt, by default, 0.1%
	
    outfile: the file to output, by default <filename>-glitched.<fileext>

Play around with different values for percent, 0.1 seems to work okay for most image formats, 0.01 worked okay for video. Also, try different filetypes and share your results!

##Examples glados-original

glados-glitched

peacemaker-original

peacemaker-glitched

reaper_core-original

reaper_core-glitched

About

Randomly changes binary file data in order to create glitch art.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%