I'm not trying to make a QR code, but I am looking to make a similar type of style that is generated multiple times as an image.
This is a brief example of one of these images:
CodePudding user response:
Basic concept:
- Create small resolution image with random
0
and255
values. - Resize the small image with NEAREST interpolation.
Setting the probabilities is not very clear from the question.
I tried creating a look up table that converts from from probability percent to the percentage of white pixels.
I used