Able to eval js with my scope!

This commit is contained in:
dylan
2023-05-01 18:42:55 -07:00
parent 5d742d5964
commit a7b675d541
7 changed files with 67 additions and 4 deletions

16
font.ts
View File

@ -1,3 +1,19 @@
/**
* Perhaps fonts can be their own type of sheet. By the calculation below, we can fit ~4 fonts per fontsheet
*
* 3 bits for height
* 5 more metadata bits
* = 1 byte
*
* Per character:
* - 3 bits for width
* - 5 bits for metadata
* - 64 bits for pixels
* = 9 bytes per character
*
* 96 chars * 9 bytes =
*/
// deno-fmt-ignore
export const font: {[key: string]: Array<number>} = {
"a": [