POV-Ray : Newsgroups : povray.off-topic : PRNG : Re: PRNG Server Time
29 Jul 2024 18:21:42 EDT (-0400)
  Re: PRNG  
From: clipka
Date: 22 Jun 2011 18:24:27
Message: <4e026b9b@news.povray.org>
Am 22.06.2011 23:04, schrieb Darren New:
> On 6/22/2011 13:23, Orchid XP v8 wrote:
>> looked specifically at functions which are cheap to compute but still
>> look
>> "reasonably random".
>
> Yes. They're called "non-cryptographic hashes". ;-)

... but beware - there are some pretty simple algorithms out there that 
probably don't suit your needs. E.g., "hash(data) := data mod N" 
qualifies as a hash function, but probably not as "reasonably random".


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.