{"id":16723755,"url":"https://github.com/nqpz/futracer","last_synced_at":"2025-04-10T10:08:16.428Z","repository":{"id":83083794,"uuid":"70018921","full_name":"nqpz/futracer","owner":"nqpz","description":"Race through breathtaking 3-D graphics with Futhark! :snail:","archived":false,"fork":false,"pushed_at":"2021-04-06T20:15:56.000Z","size":206,"stargazers_count":14,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-24T08:55:46.703Z","etag":null,"topics":["3d-engine","3d-graphics","futhark"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nqpz.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}},"created_at":"2016-10-05T00:49:42.000Z","updated_at":"2024-06-21T23:28:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"28810b01-591f-402a-bbe1-3e9ca4f043df","html_url":"https://github.com/nqpz/futracer","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/nqpz%2Ffutracer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nqpz%2Ffutracer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nqpz%2Ffutracer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nqpz%2Ffutracer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nqpz","download_url":"https://codeload.github.com/nqpz/futracer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248198884,"owners_count":21063628,"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":["3d-engine","3d-graphics","futhark"],"created_at":"2024-10-12T22:39:34.240Z","updated_at":"2025-04-10T10:08:16.388Z","avatar_url":"https://github.com/nqpz.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# futracer\n\nRace through breathtaking 3-D graphics with Futhark through OpenCL\n(*not* OpenGL)!\n\nRun `make` to build the library, and then run `./futcubes.py`,\n`./futfly.py`, or `./futdoom.py` to run the example programs.  Use the\n`--help` argument to see which settings exist.\n\nThere are three rendering approaches: `segmented` (the default) `chunked`, and\n`scatter_bbox`.  The `segmented` approach is a rasterizer, while\n`chunked` and `scatter_bbox` are raycasters.\n\n*Click on the image to see a 1-minute video of `futcubes.py` in action.*\n[![Video of futcubes](https://hongabar.org/~niels/futracer/futracer-textured-image.jpg)](https://hongabar.org/~niels/futracer/futracer-textured.webm)\n\n*Click on the image to see a 1-minute video of `futfly.py` in action.*\n[![Video of futfly](https://hongabar.org/~niels/futracer/futracer-futfly-image.jpg)](https://hongabar.org/~niels/futracer/futracer-futfly.webm)\n\n*Click on the image to see a 30-second video of `futdoom.py` in action.*\n[![Video of futdoom](https://hongabar.org/~niels/futracer/futracer-futdoom-image.jpg)](https://hongabar.org/~niels/futracer/futracer-futdoom.webm)\n\n\n## Dependencies\n\nfutracer depends on the programming language Futhark;\nsee [http://futhark-lang.org/](http://futhark-lang.org/)\nand\n[https://github.com/HIPERFIT/futhark](https://github.com/HIPERFIT/futhark).\n\nfutracer also depends on PyGame, PyPNG (only `futcubes.py` and\n`futdoom.py`), and NumPy.\n\n\n## Keyboard controls\n\nUse the arrow keys for now.  Use Page Down and Page Up to decrease and\nincrease the view distance for rendering (fun!).  Use 1 and 2 to\ndecrease and increase the draw distance.\n\nUse R to switch rendering approaches.\n\nFor the `chunked` rendering approach, use A and D to decrease and\nincrease the number of draw rectangles on the X axis, and W and S on the\nY axis.  Sometime in the future this should be chosen automatically.\nWarning: This might slow down the program to a crawl for some reason.\n\n\n## Scripts\n\n`futdoom.py` supports custom maps.  For an example of a (poorly)\nrandomly generated map, run:\n\n```\n./futdoomlib/scripts/generate_random_map.py | ./futdoom.py --auto-fps --level -\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnqpz%2Ffutracer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnqpz%2Ffutracer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnqpz%2Ffutracer/lists"}