Mark Vasilkovmvasilkov.animuchan.net·Feb 11, 2023BigInt Embedded Bitmap EncodingThis is the second post in the series. See the previous post, ECMAScript Embedded Bitmap Encoding for context. My friend Roman pointed out that I was, in fact, doing things suboptimally in the EEBE post: The array of scanlines can be replaced with ...Discuss·214 readsJavaScript
Mark Vasilkovmvasilkov.animuchan.net·Feb 7, 2023ECMAScript Embedded Bitmap EncodingI propose the following bitmap format, suitable for embedding small images in TypeScript or JavaScript source code: // ECMAScript Embedded Bitmap Encoding (EEBE) // Required fields: export const lines = [ 0b0001000, 0b0111000, 0b1101000, 0b10...Discuss·406 readsjs13kGames