Skip to content

Plot any file as a Noise Sphere giving a visual indication of how random the binary data is.

License

Notifications You must be signed in to change notification settings

lvecsey/nsphere

Repository files navigation

Show the randomness of a given file visually with OpenGL (snow globe)

./autogen.sh
mkdir build ; cd build
../configure --prefix=$HOME/nsphere-git
make check
make install
src/nsphere /path/to/datafile 64000

The above example will plot with 64000 points, and rotate the sphere for you. By default it will plot 8000 points.

You can also run nsphere-ppm to output a single out1.ppm image to disk. This program has many optional args.

src/ppm-out/nsphere-ppm -3 /path/to/datafile
display ./out1.ppm

See 'original.txt' for the file that nsphere-ppm and this entire project is based on.

Sample image

Image of output

About

Plot any file as a Noise Sphere giving a visual indication of how random the binary data is.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published