Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: Translating simplex noise code from java to perl

by grondilu (Friar)
on Mar 04, 2014 at 13:27 UTC ( [id://1076877]=note: print w/replies, xml ) Need Help??


in reply to Re: Translating simplex noise code from java to perl
in thread Translating simplex noise code from java to perl

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 -

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1076877]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2024-04-20 02:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found