I want to create bit patterns in an array of bytes. The patterns are to be created by setting individual bits to 1's and 0's in C language
The patterns are saw-tooth, sine wave, gradient. These patterns are then to be used as filters on some arrayed data.
Visually what I want to achieve is: Two dimensional patterned arary
The size of the arrays is my choice.
What could be some nice ways to achieve this by a C code.
Thanks
Aucun commentaire:
Enregistrer un commentaire