Back to hasard library

Output of tests/gnuplot.py for some algorithms using seed="one".

Grayscale with Python Imaging Library

RANDU

Lower 8 bits of the RANDU engine (256x256):

Lower 8 bits of the RANDU engine (256x256)

Command to generate the picture:

./gen_files.py --rng=randu --op=tick --mask=2**8-1 --count=256**2|./draw_pil.py

Park-Miller

Park-Miller double() in 400x400 pixels:

Park-Miller double() in 400x400 pixels

Minimum Standard

Lower 15 bits of Minimum standard ticks (512x512 ticks):

Lower 15 bits of Minimum standard ticks (512x512 ticks)

Command to generate the picture:

./gen_files.py --rng=minimum_standard --mask=2**15-1 --count=512**2|./draw_pil.py --binary

drand48

Lower 8 bits of the drand48() engine (2048x100):

Lower 8 bits of the drand48() engine (2048x100)

Command to generate the picture:

./gen_files.py --rng=drand48 --op=tick --mask=255 --count=2048*100|./draw_pil.py --width=2048

Gnuplot: x=rand(), y=rand()

Test engines

Relative of two consecutive counter ticks of the (test engine):

Relative of two consecutive counter ticks of the (test engine)

Command to generate the picture:

./gen_files.py --rng=counter --op=tick --count=256**2|./gnuplot.py --point=0.25

Poor quality engines

Better engines

Attachments