You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.
Currently, rune metadata consists of the rune itself, and its divisibility. Divisibility is encoded as a 128 bit integer, but only 6 bits are needed since ceil(log2(len(str((1 << 128 - 1))))) == 6.
That leaves 122 unused bits. We should do something fun with them. I propose:
Foreground color: 12 bits
Background color: 12 bits
Currency symbol: 17 bits
Logo: 81 bits
Colors are 4 bits for red, green, and blue, and can be expressed as three-digit hex colors, e.g., #FFF for white.
Foreground and background color can be used on /rune pages. Probably not as background and foreground colors for the page, since that might be completely illegible, but we can use it for something else.
Foreground color and background color kind of introduce the myspace problem. They can be ugly, illegible, and if used substantially will make rune pages look different from each other. Runes can now have an inscription, which can be the visual identity of the rune, so the logo isn't necessary. However I did add a currency symbol to runes.
Currently, rune metadata consists of the rune itself, and its divisibility. Divisibility is encoded as a 128 bit integer, but only 6 bits are needed since
ceil(log2(len(str((1 << 128 - 1))))) == 6
.That leaves 122 unused bits. We should do something fun with them. I propose:
Colors are 4 bits for red, green, and blue, and can be expressed as three-digit hex colors, e.g.,
#FFF
for white.Foreground and background color can be used on /rune pages. Probably not as background and foreground colors for the page, since that might be completely illegible, but we can use it for something else.
The currency symbol is a unicode symbol, like
$
, for displaying balances. 17 bits cover the Basic Multilingual Plane and the Supplementary Multilingual Plane, which max out at 0x1FFFF.The logo is a 9x9 pixel bitmap, where on bits are the foreground color, and off bits are the background color.
The text was updated successfully, but these errors were encountered: