Updated : 2021
Learn how to create a binary code / computer code 0 1 0 1 01 etc pattern in Photoshop. The binary code pattern needs a cell and you can create a guide via the guide layouts. The binary code computer pattern then needs to be filled with random 0 and 1 numbers.
You can then align the binary code computer pattern numbers (or leave them with a slight randomness). You can change the color of the binary code computer pattern. You can change the font used (perhaps have random typefaces for each of the binary code pattern cells). You can then define the binary code computer code pattern via the edit menu define pattern command.
The binary code pattern can then be applied via the new fill layer command or edit menu fill in Photoshop. You can then create even more unique binary code / computer code patterns by adding effects and adjustment layers. This tutorial shows you have to create the guides as well as how to fill the cells of the binary code battern and then define the pattern for use throughout Photoshop
The quickest way to do this is to set up some guides in Photoshop
View menu
New guide layout
Set columns to 10
Set rows to 10
The settings for the guides do not need to be10 and 10 (they could easily be 15 x 20 or 50 x 45 etc) but to create a fairly random binary code grid, you really do need at least a 10 x 10 setup and the guides are useful for the alignment of the characters, 0 and 1. OK, once you have the guides then the next thing to for the binary code / computer code pattern is to fill all those slots with some numbers and 0 and 1 are great for binary code.
The next step is to go to one of the 'cells' and add a 0 in a font, perhaps Futura or courier new or whatever you want. You can always change it later
Go to the type tool
Set color
Set font
Set size and that depends on the size of the document and the grid that you have set up for your binary code / computer code pattern
Click the document in the middle of one of the cells and add 0
duplicate that character
move to another cell and change the 0 to 1
Now go to the layer menu and smart objects and convert
Do the same for the 0 as well, both are now smart objects
Select the 0 or 1 and hold down the option / alt to duplicate the 0 or 1
Shift that randomly to another cell.
Repeat that for the 0 or 1 over and over until you have filled all the cells with the 0 and 1 characters for the binary code / computer code
Now select an entire row or column and then use the align tools along the top of Photoshop
Repeat this for all the rows and columns so now you should have a complete set up of 0 and 1 cells. If you do not flatten the work, you can always shift the combination of 0 and 1 cells around and so if you want to, save the 0 and 1 layers as a PSD file to use as an endless source of binary combinations. Also, you can always create a 100 x 100 grid but that will probably take a little time to fill.
Now you want it as a pattern (or you could save the above straight to the CC library and then use it as a layer on its own
edit menu
define pattern
layer menu and new fill layer content and pattern
Select the binary code / computer code pattern and create a new Photoshop pattern layer
flatten, apply effects etc to it
Why did I suggest creating them as smart objects? You can change a single cell and the change will be reflected throughout the entire design. Say you decide to change the '0' smart object cell and change it to a different font or perhaps a different color, you can in seconds. Of course, you don't need to use smart objects and you can just create all the cells / numbers 0 and 1 as separate cells and then edit them individually (up to you)
go to the layers panel
double click the layer thumbnail / smart object
you will then find yourself in a PSB file
edit the number (0 or 1) and change the size or color etc and perhaps the 1 to a 0 etc
close the PSB (saving any changes)
You will now see the change in all the other related smart object designs so if you have changed the color from black to red then they will become red (the other smart objects will be unchanged). You will still have to use the edit menu define pattern to resave the pattern
You can also use effects with the binary code / computer code pattern such as adding blurs or adding other colors to the background or perhaps using brush tools such as blurs or smudge to alter individual characters of the Photoshop pattern. The binary code / computer code pattern can be modified in countless ways such as by using camera raw filter or effects such as Analog Efex Pro