in reply to Translating simplex noise code from java to perl

Wow, all I can say is that is as beautiful as the Mona Lisa. You said you had an few lines of code, which outputs the graphic? Can you post it, please?

I am interested in background noise, as it supposedly clears the mind as you sleep. :-)

My quarters sounds like a rocket flying thru deep space ... always in the background. :-) Full cruising speed ahead!!


I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh
  • Comment on Re: Translating simplex noise code from java to perl

Replies are listed 'Best First'.
Re^2: Translating simplex noise code from java to perl
by grondilu (Friar) on Mar 04, 2014 at 13:27 UTC

    The code which outputs the graphics is in what I posted (the part which begins with print "P2\n"). Just run it and you'll get a noise image on stdout in ASCII.

    To display it, you can use Image magick for instance.

    $ perl SimplexNoise.pm |display -