Showing posts with label Coding. Show all posts
Showing posts with label Coding. Show all posts
Saturday, April 9, 2011
Pixel Coding
What we have here is what is called pixel coding. More of an art than an actual coding language, pixel coding takes advantage of the common language between all computer files, binary. Colors can be encoded in differing amounts of bits, 12 or 24 or 32 or more, depending on what is needed by the user. By controlling red, blue, and green values along with opacity, it's possible to generate any 32 bit binary string needed. Along with an understanding of application programming interfaces, or APIs, and knowing the binary strings needed to generate different function calls, it's possible to translate to them directly. A system's API is the set of instructions that allow the user to utilize the functionality build into the system. Aside from some header information depending on the file extension, changing the file from .raw to .com shouldn't change the binary strings located within. The API generated by the file created a texture tunnel from nothing but pixels.
Subscribe to:
Posts (Atom)