file-visualisation/visualize/README.md
2019-05-04 22:49:04 +00:00

18 lines
558 B
Markdown

# Visualize
The idea of this experiment is to visualize a file by converting its bytes to
pixels. This process should be fully reversible (a script for another day :P).
## Examples
Random bytes from `/dev/urandom`:
![random bytes](examples/random.png)
A short "hello world" program written in ~ and compiled by gcc:
![hello world](examples/hello_world.png)
The source code of the script:
![visualize](examples/visualize.png)
The source code of the script, with correct line lengths:
![visualize with correct line lengths](examples/visualize_lines.png)