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


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

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

Best For


LociOiling's picture
User offline. Last seen 7 hours 23 min ago. Offline
Joined: 12/27/2012
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 for a detailed example

This script is based on the PHP script found in

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.





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, Amazon, Microsoft, Adobe, Boehringer Ingelheim, RosettaCommons