{"id":20129497,"url":"https://github.com/dra1ex/raytracer-js","last_synced_at":"2026-05-13T04:05:26.020Z","repository":{"id":142214920,"uuid":"385170614","full_name":"DrA1ex/raytracer-js","owner":"DrA1ex","description":"Ray-caster / Ray-tracer (2D to pseudo 3D)","archived":false,"fork":false,"pushed_at":"2025-02-26T15:52:19.000Z","size":132,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-26T16:44:03.249Z","etag":null,"topics":["ray-caster","ray-tracer","ray-tracing","raycaster","raycasting","raytracer","raytracing-render"],"latest_commit_sha":null,"homepage":"https://dra1ex.github.io/raytracer-js/","language":"JavaScript","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/DrA1ex.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":"2021-07-12T08:03:07.000Z","updated_at":"2025-02-26T15:52:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"5f965f8f-2355-4eb2-9a0b-8d5a64a71bd4","html_url":"https://github.com/DrA1ex/raytracer-js","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/DrA1ex%2Fraytracer-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrA1ex%2Fraytracer-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrA1ex%2Fraytracer-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrA1ex%2Fraytracer-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DrA1ex","download_url":"https://codeload.github.com/DrA1ex/raytracer-js/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241573338,"owners_count":19984455,"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":["ray-caster","ray-tracer","ray-tracing","raycaster","raycasting","raytracer","raytracing-render"],"created_at":"2024-11-13T20:34:37.997Z","updated_at":"2025-11-29T05:06:13.319Z","avatar_url":"https://github.com/DrA1ex.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Raytracer-JS\nSimple 2D raytracer/raycaster implementation.\n\n## [Demo](https://dra1ex.github.io/raytracer-js/)\n\n**Desktop:** Use _WASD_ to move and _Mouse_ to control camera\n\n**Touch:** Swipe _Left/Right_ to look around; Swipe _Up/Down_ and **hold** to move\n\n\u003cimg width=\"800\" alt=\"image\" src=\"https://github.com/DrA1ex/raytracer-js/assets/1194059/512376a9-2799-447d-9bd6-c57485154e43\"\u003e\n\n\n## Links\n- Ray-casting mode (no reflections): [link](https://dra1ex.github.io/raytracer-js/?reflection_count=0)\n- Ray-casting mode (1 reflection): [link](https://dra1ex.github.io/raytracer-js/?reflection_count=1)\n\n- Ray-tracing mode (1 reflection): [link](https://dra1ex.github.io/raytracer-js/?accumulate_light=true\u0026reflection_spread=30)\n- Ray-tracing mode (4 reflections): [link](https://dra1ex.github.io/raytracer-js/?accumulate_light=true\u0026trace_steps=100\u0026reflection_count=4\u0026reflection_sub_step_count=2\u0026reflection_spread=30\u0026reflection_energy_loss=0.2)\n- Ray-tracing mode (8 reflections): [link](https://dra1ex.github.io/raytracer-js/?accumulate_light=true\u0026trace_steps=50\u0026reflection_count=8\u0026reflection_sub_step_count=2\u0026reflection_spread=30\u0026reflection_energy_loss=0.3)\n\n## [Debug Mode](https://dra1ex.github.io/raytracer-js/?debug=true)\n\n\u003cimg width=\"800\" alt=\"image\" src=\"https://github.com/DrA1ex/raytracer-js/assets/1194059/f397b807-2fd5-4f9f-b0cc-0679457ca8ec\"\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdra1ex%2Fraytracer-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdra1ex%2Fraytracer-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdra1ex%2Fraytracer-js/lists"}