Wednesday, 7 December 2016

Too noisy in here

Or maybe not enough...

There is a distinct banded pattern to the "noise".  It's quite not what I was expecting as an output.  But at least now there is some visible pattern.  The previous iteration was doing this...

Which one could argue is quite noisy, but there is no aesthetically pleasing structure to it.   I think what I want is somewhere between the two.

In the meantime the experimenting continues.

Currently the loop goes through
x = 0; x < width; x++
  y = 0; y< height; y++

but using x and y as inputs into the noise (x, y, z) function
Output graphics will put low elevations in the top left and higher ones in the bottom right
The distinct banding pattern appears when the z input is very small, e.g. (x+y)/random large number.
I guess this is just me trying to understand what inputs into Noise(x,y,z) will produce the output I'm seeking.

Perhaps what I want isn't the x, y in the loop going into the noise function at all, but simply using a pseudo-random number doesn't give me an output I like.