{"id":18824793,"url":"https://github.com/charles-l/rayboi","last_synced_at":"2026-04-19T05:36:27.453Z","repository":{"id":75756678,"uuid":"338659648","full_name":"charles-l/rayboi","owner":"charles-l","description":"a raytracer written in futhark/python","archived":false,"fork":false,"pushed_at":"2023-04-15T16:24:53.000Z","size":101,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-08T12:52:30.988Z","etag":null,"topics":["futhark","numpy","pathtracing","python3","raytracing"],"latest_commit_sha":null,"homepage":"","language":"Futhark","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/charles-l.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":"2021-02-13T20:06:35.000Z","updated_at":"2023-04-22T16:07:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"f6366934-c8df-4398-80fe-3b970c29a509","html_url":"https://github.com/charles-l/rayboi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/charles-l/rayboi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charles-l%2Frayboi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charles-l%2Frayboi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charles-l%2Frayboi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charles-l%2Frayboi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/charles-l","download_url":"https://codeload.github.com/charles-l/rayboi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charles-l%2Frayboi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270690262,"owners_count":24628851,"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","status":"online","status_checked_at":"2025-08-16T02:00:11.002Z","response_time":91,"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":["futhark","numpy","pathtracing","python3","raytracing"],"created_at":"2024-11-08T00:57:30.151Z","updated_at":"2026-04-19T05:36:27.410Z","avatar_url":"https://github.com/charles-l.png","language":"Futhark","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rayboi\n\nA raytracer/pathtracer implemented in Futhark (and a bit of Python).\n\n![render example](render.png)\n\n## running the renderer\nTo run the renderer, build the code:\n\n```\n./futhark-nightly-linux-x86_64/bin/futhark pkg sync\n./futhark-nightly-linux-x86_64/bin/futhark pyopencl rayboi.fut\n```\n\nThen run the progressive renderer shell:\n\n```\npip install pyglet numpy\npython debug_view.py\n```\n\n## other notes\n\nA lot of the code is [based off of Sabastian Lague's very helpful video](https://www.youtube.com/watch?v=Qz0KTGYJtUk)\n\nFuture improvements/projects:\n\n* Model loading\n* Texture mapping\n* Spatial partitioning with [BVH](https://raytracing.github.io/books/RayTracingTheNextWeek.html)\n* [PBRT](http://www.pbr-book.org/3ed-2018/contents.html)\n* ReSTIR ([ref](https://www.youtube.com/watch?v=gsZiJeaMO48))\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcharles-l%2Frayboi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcharles-l%2Frayboi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcharles-l%2Frayboi/lists"}