I’ve been experimenting with intention-based RNG testing using a TrueRNG hardware random number generator, and I’ve put together a Processing sketch to make it easy (and fun) to explore. The sketch connects to a TrueRNG over serial, unpacks the incoming bytes into bits, and groups them into one-second “GCP-style” blocks. For each block it computes a z-score relative to 50/50 odds, then accumulates those scores into a running cumulative z-score that’s plotted in real time.
A clean ControlP5 interface lets you choose the serial port, set a goal (High, Medium, or Low), and pick between fixed run durations (1, 3, or 5 minutes) or a continuous mode that runs until you manually stop it. At the end of each run, the app evaluates whether you achieved a HIT or MISS based on your chosen goal.
You can view the full code and description on the dedicated page: regtest.html.
There are also some web-based tools:
TRUERNGRaw.html
TrueRNGPKtest.html