{"id":20279160,"url":"https://github.com/peterhellberg/w4-8x8-fill-patterns","last_synced_at":"2026-06-24T02:31:54.552Z","repository":{"id":247196112,"uuid":"825125540","full_name":"peterhellberg/w4-8x8-fill-patterns","owner":"peterhellberg","description":"https://assets.c7.se/games/w4-8x8-fill-patterns/","archived":false,"fork":false,"pushed_at":"2025-03-03T13:26:58.000Z","size":42,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-20T23:35:34.018Z","etag":null,"topics":["fantasy-console","wasm4","zig"],"latest_commit_sha":null,"homepage":"","language":"Zig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/peterhellberg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-07-06T21:16:50.000Z","updated_at":"2025-03-04T13:38:53.000Z","dependencies_parsed_at":"2024-11-14T13:30:17.261Z","dependency_job_id":"e8a143c2-9fc6-4d2a-be74-4a563ed062cb","html_url":"https://github.com/peterhellberg/w4-8x8-fill-patterns","commit_stats":null,"previous_names":["peterhellberg/w4-8x8-fill-patterns"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/peterhellberg/w4-8x8-fill-patterns","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterhellberg%2Fw4-8x8-fill-patterns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterhellberg%2Fw4-8x8-fill-patterns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterhellberg%2Fw4-8x8-fill-patterns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterhellberg%2Fw4-8x8-fill-patterns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peterhellberg","download_url":"https://codeload.github.com/peterhellberg/w4-8x8-fill-patterns/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterhellberg%2Fw4-8x8-fill-patterns/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34714992,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-24T02:00:07.484Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fantasy-console","wasm4","zig"],"created_at":"2024-11-14T13:28:37.607Z","updated_at":"2026-06-24T02:31:54.530Z","avatar_url":"https://github.com/peterhellberg.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# w4-8x8-fill-patterns :bucket:\n\nA `.wasm` cart for use in [WASM-4](https://wasm4.org/) written\nin [Zig](https://ziglang.org/) :zap:\n\n\u003chttps://assets.c7.se/games/w4-8x8-fill-patterns\u003e\n\n\u003e [!Note]\n\u003e Based on patterns found at [8x8.me](https://github.com/ace-dent/8x8.me/)\n\n## Usage\n\n| Key                  |                                        |\n|---------------------:|----------------------------------------|\n| **Z**                | Next palette\n| **X**                | Invert colors\n| **Up/Down**          | Switch “gallery”\n| **Left/Right**       | Switch “pattern” in current “gallery”\n| **Held Left Mouse**  | Show zoomed in “pattern”\n| **Held Right Mouse** | Clear background\n\n## Development\n\nFile watcher can be started by calling:\n```sh\nzig build spy\n```\n\nRunning the cart in WASM-4:\n```sh\nzig build run\n```\n\nDeploy:\n```\nmake deploy\n```\n\n### Tools\n\n#### `bitsy-to-w4-sprites`\n\nA small Go program that converts the `*.bitsy.txt` files from [8x8.me](https://8x8.me/)\ninto Zig :zap: files compatible with [w4](https://github.com/peterhellberg/w4).\n\n```sh\nACE_DENT_8X8=\"/home/peter/Code/GitHub/ace-dent/8x8.me\"\nOUT_DIR=\"/home/peter/Code/w4/w4-8x8-fill-patterns/src/patterns\"\n\nmkdir -p $OUT_DIR\n\ncat $ACE_DENT_8X8/01-Dither/Dither.bitsy.txt | bitsy-to-w4-sprites -format w4 \u003e $OUT_DIR/Dither.zig\ncat $ACE_DENT_8X8/02-Dots/Dots.bitsy.txt | bitsy-to-w4-sprites -format w4 \u003e $OUT_DIR/Dots.zig\ncat $ACE_DENT_8X8/03-Dashes/Dashes.bitsy.txt | bitsy-to-w4-sprites -format w4 \u003e $OUT_DIR/Dashes.zig\ncat $ACE_DENT_8X8/04-Lines/Lines.bitsy.txt | bitsy-to-w4-sprites -format w4 \u003e $OUT_DIR/Lines.zig\ncat $ACE_DENT_8X8/05-Waves/Waves.bitsy.txt | bitsy-to-w4-sprites -format w4 \u003e $OUT_DIR/Waves.zig\ncat $ACE_DENT_8X8/06-Grid/Grid.bitsy.txt | bitsy-to-w4-sprites -format w4 \u003e $OUT_DIR/Grid.zig\ncat $ACE_DENT_8X8/07-Checked/Checked.bitsy.txt | bitsy-to-w4-sprites -format w4 \u003e $OUT_DIR/Checked.zig\ncat $ACE_DENT_8X8/08-Rectilinear/Rectilinear.bitsy.txt | bitsy-to-w4-sprites -format w4 \u003e $OUT_DIR/Rectilinear.zig\ncat $ACE_DENT_8X8/09-Radial/Radial.bitsy.txt | bitsy-to-w4-sprites -format w4 \u003e $OUT_DIR/Radial.zig\ncat $ACE_DENT_8X8/10-Round/Round.bitsy.txt | bitsy-to-w4-sprites -format w4 \u003e $OUT_DIR/Round.zig\ncat $ACE_DENT_8X8/11-Woven/Woven.bitsy.txt | bitsy-to-w4-sprites -format w4 \u003e $OUT_DIR/Woven.zig\ncat $ACE_DENT_8X8/12-Architecture/Architecture.bitsy.txt | bitsy-to-w4-sprites -format w4 \u003e $OUT_DIR/Architecture.zig\ncat $ACE_DENT_8X8/13-Nature/Nature.bitsy.txt | bitsy-to-w4-sprites -format w4 \u003e $OUT_DIR/Nature.zig\ncat $ACE_DENT_8X8/14-Symbols/Symbols.bitsy.txt | bitsy-to-w4-sprites -format w4 \u003e $OUT_DIR/Symbols.zig\ncat $ACE_DENT_8X8/15-Other/Other.bitsy.txt | bitsy-to-w4-sprites -format w4 \u003e $OUT_DIR/Other.zig\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterhellberg%2Fw4-8x8-fill-patterns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeterhellberg%2Fw4-8x8-fill-patterns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterhellberg%2Fw4-8x8-fill-patterns/lists"}