Pseudorandom number generator image

From Rosetta Code
Revision as of 04:52, 27 July 2020 by rosettacode>JusC (Created page with "{{draft task|PRNG Image}} ;Task: Write a program that creates an image from an Pseudorandom Number Generator(PRNG) algorithm's output. The image can have the following dimens...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Pseudorandom number generator image is a draft programming task. It is not yet considered ready to be promoted as a complete task, for reasons that should be found in its talk page.
Task

Write a program that creates an image from an Pseudorandom Number Generator(PRNG) algorithm's output. The image can have the following dimensions:

  1. 250px by 250px : If the algorithm requires the use of prime numbers, use 8-15 bit primes.
  2. 500px by 500px : If the algorithm requires the use of prime numbers, use 8-15 bit primes.
  3. 1000px by 1000px : If the algorithm requires the use of prime numbers, use 8-32 bit primes.
  4. 1500px by 1500px : If the algorithm requires the use of prime numbers, use 16-64 bit primes.
Possible Output
sample
sample


See also
  •   Blum Blum Shub [1].
  •   Blum-Micali Algorithm: [2].
  •   Linear congruential generator [3].