{"id":16786415,"url":"https://github.com/davcri/rayca-ts","last_synced_at":"2025-03-16T23:23:16.342Z","repository":{"id":40485376,"uuid":"469129415","full_name":"davcri/rayca-ts","owner":"davcri","description":"Raycaster study","archived":false,"fork":false,"pushed_at":"2023-02-18T07:44:33.000Z","size":155,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-23T09:33:00.392Z","etag":null,"topics":["raycaster","ts"],"latest_commit_sha":null,"homepage":"https://rayca-ts.netlify.app/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davcri.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-03-12T15:57:14.000Z","updated_at":"2023-03-10T07:08:23.000Z","dependencies_parsed_at":"2024-10-13T08:12:18.573Z","dependency_job_id":"6eb1d812-4fb5-4d8a-9fe1-27d52f65d12a","html_url":"https://github.com/davcri/rayca-ts","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/davcri%2Frayca-ts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davcri%2Frayca-ts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davcri%2Frayca-ts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davcri%2Frayca-ts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davcri","download_url":"https://codeload.github.com/davcri/rayca-ts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243945705,"owners_count":20372919,"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":["raycaster","ts"],"created_at":"2024-10-13T08:12:10.902Z","updated_at":"2025-03-16T23:23:16.322Z","avatar_url":"https://github.com/davcri.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rayca-ts\n\n[![Netlify Status](https://api.netlify.com/api/v1/badges/39bb4441-4f1d-4847-aeaa-2439d09c004e/deploy-status)](https://app.netlify.com/sites/js-ray/deploys)\n\n✍️ WIP raytracer written in JS/TS, inspired by https://www.scratchapixel.com/\n\n![](https://imgur.com/Bc8Noxd.png)\n\n\u003cimg width=256 src=\"https://i.imgur.com/VvSo7iT.png\" \u003e\n\n\u003e Photo by [Snapwire](https://www.pexels.com/photo/photo-of-gray-cat-looking-up-against-black-background-730896/)\n\n### Other Raycaster implementations\n\n- [Fahien/rayca](https://github.com/Fahien/rayca) - 🦀 Rust implementation.\n\n## Interesting resources\n\n- BVH: [How to build a BVH](https://jacco.ompf2.com/2022/04/13/how-to-build-a-bvh-part-1-basics/)\n\n### GFX\n\n- https://en.wikipedia.org/wiki/Ray_tracing_(graphics)\n- https://github.com/OmarShehata/webgpu-compute-rasterizer\n- https://jacco.ompf2.com/2022/04/13/how-to-build-a-bvh-part-1-basics/\n- https://kristoffer-dyrkorn.github.io/triangle-rasterizer/\n\n### Optimizing JS math code\n\n- [Efficient JavaScript Vector Math Brandon Jones](http://media.tojicode.com/sfjs-vectors/)\n- Box2D web port: https://github.com/illandril/box2dweb-closure/blob/master/src/common/math/b2Vec2.js\n- [scirra.com/blog/76/how-to-write-low-garbage-real-time-javascript](http://web.archive.org/web/20140724034530/https://www.scirra.com/blog/76/how-to-write-low-garbage-real-time-javascript)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavcri%2Frayca-ts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavcri%2Frayca-ts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavcri%2Frayca-ts/lists"}