How to create these pixel effects in Adobe Illustrator?
I want to create any of the following effects in illustrator:
Would be great if someone could guide me or provide me with a suitable tutorial.
The first one
You can just create a square and use object - transform - move (and make sure to hit copy) to move the square at the desired length (vertical or horizontal).
I just made a 10 x 10 pixel square and moved the square 12 pixels downwards.
Then press CTRL + D to repeat that action.
Select the entire row and go to object - transform - move and now select a horizontal of 12px (or whatever distance you're working with). Then delete some of the squares.
Then select the outer squares and go to object - transform - scale. Select percents like 50% and then 25% for the farthest right squares. Then randomly select squares and give them different colors.
For the second effect
I think they might have used a scatter brush. See a Adobe video https://helpx.adobe.com/illustrator/how-to/illustrator-create-scatter-brush.html