{"id":16985543,"url":"https://github.com/zenith391/numworks-rasterizer","last_synced_at":"2025-03-22T01:26:37.273Z","repository":{"id":133134428,"uuid":"552389829","full_name":"zenith391/numworks-rasterizer","owner":"zenith391","description":"Fast rasterizer for the NumWorks calculator","archived":false,"fork":false,"pushed_at":"2025-02-17T15:05:29.000Z","size":89,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-17T15:23:08.535Z","etag":null,"topics":["numworks"],"latest_commit_sha":null,"homepage":"","language":"Zig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zenith391.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}},"created_at":"2022-10-16T13:41:29.000Z","updated_at":"2025-02-17T15:05:33.000Z","dependencies_parsed_at":"2025-02-17T15:32:04.194Z","dependency_job_id":null,"html_url":"https://github.com/zenith391/numworks-rasterizer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenith391%2Fnumworks-rasterizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenith391%2Fnumworks-rasterizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenith391%2Fnumworks-rasterizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenith391%2Fnumworks-rasterizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zenith391","download_url":"https://codeload.github.com/zenith391/numworks-rasterizer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244892157,"owners_count":20527397,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["numworks"],"created_at":"2024-10-14T02:43:41.805Z","updated_at":"2025-03-22T01:26:37.264Z","avatar_url":"https://github.com/zenith391.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NumWorks Rasterizer\n\nA simple rasterizer for NumWorks calculators, made to test the feasability of running 3D graphics\non this hardware.\n\n## Design Decisions\n- A fixed-point number implementation has been added, as it has a much higher performance than\n  floating-point numbers on the CPU (Cortex M7). Using a lousy benchmark quickly tested on the\n  calculator, fixed point computations are about 10 to 15 times faster than floating point.\n  An excellent ressource I like discussing floating point is http://x86asm.net/articles/fixed-point-arithmetic-and-tricks/\n- All vector operations use fixed point numbers, including matrix multiplication\n- Linear interpolation is used for triangles, even if that's incorrect (and leaves to the warping\n  walls effect like in PS1 games) as it's much better for performance\n\n## Running on your calculator\n\nMake sure you have NodeJS installed first\n\n1. Connect your calculator\n2. You only need to execute\n```sh\nzig build run -Doptimize=ReleaseFast\n```\n(`-Doptimize=ReleaseFast` is recommended even in debug for the app to run at reasonable speed)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzenith391%2Fnumworks-rasterizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzenith391%2Fnumworks-rasterizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzenith391%2Fnumworks-rasterizer/lists"}