Skip to content

Latest commit

 

History

History
123 lines (69 loc) · 3.18 KB

README.md

File metadata and controls

123 lines (69 loc) · 3.18 KB

These scripts can generate grids of random dots with different colours, black and white noise, any pixel draws and patterns like a chess board.

I put some of these designs also on objects like t-shirt, hats, mugs, puzzles, pillows, buttons, etc. You can find them here: https://www.redbubble.com/people/Mmark94/shop?asc=u

Black and white noise black_and_white_noise.py

You can set the dimension of your grid. In the example there are grids of 10x10, 100x100 and 1000x1000 grid1

grid2

grid3

You can set a different probability for each colour. In the example I set probability 100:1, 10:1, 1:1, 1:10 and 1:100 grid1

grid1

grid1

grid1

grid1

You can also set a gradient of probability for each colour. black_and_white_noise_probabilities.py

grid1

grid1

grid1

grid1

grid1

You can set how much connectivity there is in the black and white noise. For example, high connectivity means that the probability of a square being one colour is greater if the previous square is the same colour (positive feedback). Low connectivity means that the probability of a square being one colour is greater if the previous square is a different colour (negative feedback). black_and_white_noise_probabilities.py

high connectivity gridp

low connectivity gridp

with different grid dimensions gridp

gridp

gridp

gridp

You can choose as many colours as you like.

grid2

grid2

grid2

grid2

You can change the layout of the blocks; they can also have a frame.

grid2

grid2

You can also save a grid or draw it using 0 and 1 or as many colours as you want. draw_with_grid.py

grid2

grid2

You can also generate a pattern. In the example, I generated a chessboard pattern. chess_board.py

grid2

grid2

grid2

You can generate many other patterns. You can also create random patterns. Pattern_generator.py

grid_patterns

grid_patterns

grid_patterns

grid_patterns

grid_patterns

grid_patterns

grid_patterns

grid_patterns

grid_patterns

grid_patterns

You can also use trigonometric functions (cos(x), sin(x)) to generate a pattern.

grid_patterns

grid_patterns