This project is a simple implementation of a hash visualisation (randomart) generator, inspired by the approach described in the referenced research paper. The generator creates random unique images from hash-like data using a grammar-based method.
Below is an example of an image generated by the program:
- The program uses a grammar-based approach to generate random images.
- The logic is implemented in C, following the method described in the research paper.
- each compimlation outputs random image, also vizually appealing(if lucky)
The method is based on the following research paper:
Visualisation of Hashes using Random Art
Prerequisites: a C compiler (gcc/clang) and standard build tools. A Makefile is provided but the simple compile line below works on any Unix-like system.
First clone the repo.
Build (simple):
cc -O2 -Wall -o hash hash.c -lmOr try the Makefile
makeRun:
./hash
# This generates `output.png` in the repository rootView the output image (Linux):
xdg-open output.png