[Fluxus] commits

Dave Griffiths dave at pawfal.org
Wed Dec 10 01:50:50 PST 2008


>> * Noises - replaced the asserts with warning messages, we don't want
>> assertin' when livecodin' :) This looks damn useful though...
> thanks. normally the asserts would never happen, because scheme does not
> allow you to call the functions with less or more parameters than you
> specified in scheme_make_prim_w_arity. warning messages are nicer though.

Ahah - maybe they should be asserts then. The thing was that I was getting
one firing from the function doc script, because (snoise) was calling
noise(), with the wrong number of arguments, which I fixed afterwards...

So IIRC simplex noise has less of the artifacts of perlin noise (which
looks a bit blocky due to the regular sampling) but simplex noise is a bit
slower...

cheers,

dave




More information about the Fluxus mailing list