Generations using the same texts theoretically will have a small chance to reproduce the same image due to the usage of random selection. Each piece of metadata ends with the DEL terminating character, with which Pyxcell can determine which type of information it is currently reading.Įach generation is be seemingly random. I noticed that visitors of my site like artful text pictures. You can copy and paste text ASCII art to Facebook, Instagram, Snapchat and into any comments, chats, blog posts and forums. As we now live in informational societies, I bet you've already encountered those ASCII-painted pics somewhere on Internet. It's about making text pictures with text symbols. The pattern is meaningless and is used to ensure a coherent aesthetic. Text art, also called ASCII art or keyboard art is a copy-pasteable digital age art form. An unused 7-bit value is selected to decide how grids containing colours should be drawn. This provides up to 3 distinct pieces of information to encode: the characters and their representations, the set of standard colours and the set of optional keyword colours. Each bit in the binary value represents whether or not a 2 pixel wide line should be drawn within a grid. We ignore 0 to remove the possibility of producing an empty grid. This allows for each character to be randomly mapped to a value between 1 and 127. In order to represent the 95 possible characters, as well as other encodable information, grids can be painted in a specific fashion represented by a 7-bit binary value. The last character, DEL, is used as terminator character. Only the ASCII characters 32 and 127 are supported. The image is split into 50 by 50 grids, with a size of 14 by 14 pixels. My project involved utilising this library, along with sentiment analysis, to produce generative pixel art based on the emotions of a given text.Īn arbitrary image size of 700 by 700 pixels is used. It was designed to be used in my project for the Computational Creativity module at the University of Kent. Pyxcell is a barcode like, pixel art encoder and decoder library which uses text as an input.
Pyxcell - A generative text to pixel art.