In a previous post I explained a simple algorithm for generating textures. Below are some more examples of the kinds of textures that the algorithm can generate, as well as how the different parameters influence the result. You can also download the code.
The Effect of the Blend Factor
t = 0 | t = 0.1 | t = 0.2 |
t = 0.3 | t = 0.4 | t = 0.5 |
t = 0.6 | t = 0.7 | t = 0.8 |
t = 0.9 | t = 1 |
Effect of the Matrix
Angle
1 0 0 0 0 0 0 0 0 |
1 0 0 0 0 0 0 1 0 |
0 1 0 0 0 0 0 0 0 |
Spread
001 010 100 |
011 010 100 |
011 011 100 |
Effect of Iteration Count
0 | 10 | 20 |
30 | 40 | 50 |
Download
The code is included with Python Image Code (see random_image.py and random_image_demo.py).
Comments