Anonymous user
Pseudorandom number generator image: Difference between revisions
Pseudorandom number generator image (view source)
Revision as of 03:00, 7 September 2023
, 8 months agono edit summary
m (→{{header|jq}}: typo) |
imported>Maxima enthusiast No edit summary |
||
Line 492:
writePgm(img, "prng_img.pgm", string.format("PRNG Image (%d x %d)", size, size))</syntaxhighlight>
=={{header|Maxima}}==
<syntaxhighlight lang="maxima">
genmatrix(lambda([i,j],random(1000)),1000,1000)$
wxdraw2d(image(%,0,0,30,30));
</syntaxhighlight>
[[File:PseudoRandomImageMaxima.png|thumb|center]]
=={{header|Nim}}==
|