LociOiling Lv 1
This is a standalone command-line Lua script, not a foldit recipe.
This script generates a random 512x512 black and white bitmap.
Each bit is randomly selected.
The goal is to visually assess the quality of the random number generator. A second script, LuaRandom2, can be used to generate a bit from the output of the random number generator found in foldit, via the randomeer recipe. The two output files can then be compared.
See https://www.random.org/analysis/#visual for a detailed example
This script is based on the PHP script found in http://boallen.com/random-numbers.html
This script is shared as a foldit recipe, but requires a standalone Lua environment.
This is a command-line LUA program. The command line syntax is:
lua LuaRandom.lua *outfile*.png
where outfile is the output file name.