What you should do is generate in passes and increment selected positions in each phase by one bit up, that way you will end up with grayscale map after conversion which is more interesting just plain masked 01 image..
My current state is a grid of 0`s (black)With Island Center Coordinates that are placed pseudo randomly all over the grid. Later on I will recursively expand from those island centers to generate naturally looking islands. Afterwards I will use a png library to generate actual images that can be used as masks.
Thanks for your suggestion. I've been looking into Perlin's documentation but as I want to create only black or white masks I will stick with my simpler approach. Although as far as I can tell, Perlin is also using rand() #define random() rand<span>()</span> also, it would be nice if you put the source code into spoilers…
you can create black and white masks with the above method, here's one I made earlier it's just a matter of setting an upper and lower "threshold" level with the difference less than one over 255 but not zero. the lower the values the larger the islands or more white if you like. Yes perlin noise use's rand() as a basis…