Details of Wallet Spectrums
written by XSaha
We know that each Tezos wallet address consists of 36 characters, all of addresses begin with tz. Transforming this unique hash into a work of art, in such a way that each artwork represents an individual's wallet address, was a challenge that was fulfilled in this work. We know that every wallet address is unique hash and can be like a person's ID number, so turning it into a unique artwork can be interesting.
But how is this done? We know that each color in the digital world has a unique hex code that consists of 6 letters, but these codes have rules, so to convert a wallet address into color hash codes, we must first convert them according to these rules.
All hex codes have a similar and specific structure. Each of these 6-letter structures includes three two-letter sections that specify the amount of red, green, and blue colors
For converting each tz address we should make them to be in hex format, so for this purpose we convert each letter to a hex format, resulted hex code for each letter will be a two letter code.
After dividing wallet address and converting them to 2-letter hex codes, we will have 72 letters in hex format, so to reach 6-letter color codes we need to connect each 3 sections to each other so it will be in the color code format. After that we have an array containing 12 colors (72/2/3) representing each section of the wallet address.
After all the colors have been obtained, they become a circular structure which number of sections can be above 12, if each circle had more than 12 sections, the colors will be repeated in order.
Keep in mind that this method is also reversible and the original wallet address can be accessed through any captured preview. In order to understand the beauty of this work, I suggest you put it in interactive mode(by clicking on the artwork and pressing 'F') and stare at it and let it to amaze you.