{"id":26487171,"url":"https://github.com/couapy/raycasting","last_synced_at":"2025-03-20T06:35:01.076Z","repository":{"id":54414521,"uuid":"340342527","full_name":"Couapy/raycasting","owner":"Couapy","description":"Raycasting implementations","archived":false,"fork":false,"pushed_at":"2021-02-19T11:29:37.000Z","size":43,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2023-03-08T22:26:41.094Z","etag":null,"topics":["2d","3d","java","raycasting"],"latest_commit_sha":null,"homepage":"","language":"Java","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/Couapy.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}},"created_at":"2021-02-19T11:01:34.000Z","updated_at":"2021-02-19T11:29:08.000Z","dependencies_parsed_at":"2022-08-13T15:00:27.306Z","dependency_job_id":null,"html_url":"https://github.com/Couapy/raycasting","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Couapy%2Fraycasting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Couapy%2Fraycasting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Couapy%2Fraycasting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Couapy%2Fraycasting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Couapy","download_url":"https://codeload.github.com/Couapy/raycasting/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244566970,"owners_count":20473451,"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":["2d","3d","java","raycasting"],"created_at":"2025-03-20T06:35:00.491Z","updated_at":"2025-03-20T06:35:01.069Z","avatar_url":"https://github.com/Couapy.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Raycasting\n\nThis is raycasting implementations.\n\n## Preview\n\n![Example 1](./images/image1.png)\n\n![Example 2](./images/image2.png)\n\n![Example 3](./images/image3.png)\n\n## Disclaimer\n\nThis project is only a draft and the code quality is bad.\n\n## Implementations\n\nThere is two implementations :\n\n* 2D with App.java\n* 3D with App3D.java\n\nIf you launch the 3D app, 2D and 3D renderings will be launched with the same scene.\n\n## How to use\n\nThere are some keybinding :\n\n* `z` to move forward\n* `s` to move backward\n* `q` to move left\n* `d` to move right\n* `j` to look left\n* `m` to look right\n* `escape` to quit\n\n## Map resources\n\nThe maps are defined by points, and segments (defined by two points);\n\nTo create a map, you must create points, then link the points to create walls.\n\n\u003e IMPORTANT: Add frame all around the map must be created.\n\nThere one line per point, segment or origin.\n\nPoint lines are defined by the following nomenclature :\n\n```text\np:x;y\n```\n\nSegment line are defined by the following nomenclature :\n\n```text\ns:numberPoint1;numberPoint2\n```\n\nOrigin is defined by the following nomenclature :\n\n```text\no:x;y\n```\n\nFor example :\n\n```text\no:50;150\np:0;0\np:300;0\np:300;300\np:0;300\ns:0;1\ns:1;2\ns:2;3\ns:3;0\n```\n\n### Change loaded map\n\nFirst you need to create a map as described above.\n\nThen upload to the `maps` resource folder.\n\nAnd finally, find and edit the line with `map = Map.fromFile(\"maps/map.txt\");`.\n\n## Special thanks\n\n[Sight and light](https://ncase.me/sight-and-light/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcouapy%2Fraycasting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcouapy%2Fraycasting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcouapy%2Fraycasting/lists"}