Back to Recipes Homepage
recipe picture
Recipe: LuaRandom2
Created by LociOiling 2 1
5
Your rating: None Average: 5 (2 votes)

Profile

Name: LuaRandom2
ID: 101669
Created on: Wed, 12/09/2015 - 06:45
Updated on: Wed, 12/09/2015 - 06:47
Description:

Not a folidit recipe. This standalone Lua script reads the scriptlog output from the foldit recipe "Randomeer" and produces a PNG bitmap.



Best For


Comments

LociOiling's picture
User offline. Last seen 8 hours 24 min ago. Offline
Joined: 12/27/2012
Groups: Beta Folders
generates a random bitmap based on foldit

This is a standalone command-line Lua script, not a foldit recipe.

This script processes the scriptlog output of the foldit "Randomeer" recipe to produce a bitmap in PNG format.

The goal is to visually assess the quality of the random number generator. The output from this script can be compared to the output of the LuaRandom script.

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 *scriptlog* *outfile*.png

where *scriptlog* is the foldit script log from the randomeer recipe, (for example, scriptlog.default.xml) and *outfile* is the output file name.

Want to try?
Add to Cookbook!
To download recipes to your cookbook, you need to have the game client running.
Parent

none

Children

none

Authors
Sitemap

Developed by: UW Center for Game Science, UW Institute for Protein Design, Northeastern University, Vanderbilt University Meiler Lab, UC Davis
Supported by: DARPA, NSF, NIH, HHMI, Microsoft, Adobe, RosettaCommons