{"id":19574251,"url":"https://github.com/vinibiavatti1/raycastingtutorial","last_synced_at":"2025-05-16T18:08:12.103Z","repository":{"id":39619730,"uuid":"212446722","full_name":"vinibiavatti1/RayCastingTutorial","owner":"vinibiavatti1","description":"A simple RayCasting rendering tutorial for game development","archived":false,"fork":false,"pushed_at":"2024-11-28T10:26:21.000Z","size":3299,"stargazers_count":268,"open_issues_count":3,"forks_count":16,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-03T19:13:31.515Z","etag":null,"topics":["2-5d","3d","ceilcasting","floorcasting","game-development","graphical-programming","javascript","pseudo-3d","raycast-algorithm","raycaster","raycasting","raycasting-engine","raycasting-rendering-tutorial","raytracing","skycasting","tutorial"],"latest_commit_sha":null,"homepage":"","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/vinibiavatti1.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":"2019-10-02T21:41:27.000Z","updated_at":"2025-04-03T16:47:46.000Z","dependencies_parsed_at":"2025-01-01T14:02:30.411Z","dependency_job_id":"b68d34a1-c075-439d-9bd1-fecd495beef8","html_url":"https://github.com/vinibiavatti1/RayCastingTutorial","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/vinibiavatti1%2FRayCastingTutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinibiavatti1%2FRayCastingTutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinibiavatti1%2FRayCastingTutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinibiavatti1%2FRayCastingTutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vinibiavatti1","download_url":"https://codeload.github.com/vinibiavatti1/RayCastingTutorial/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248606864,"owners_count":21132429,"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":["2-5d","3d","ceilcasting","floorcasting","game-development","graphical-programming","javascript","pseudo-3d","raycast-algorithm","raycaster","raycasting","raycasting-engine","raycasting-rendering-tutorial","raytracing","skycasting","tutorial"],"created_at":"2024-11-11T06:39:20.334Z","updated_at":"2025-04-12T17:39:07.888Z","avatar_url":"https://github.com/vinibiavatti1.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/vinibiavatti1/RayCastingTutorial/wiki\" align=\"center\"\u003e\u003cimg src=\"https://github.com/vinibiavatti1/RayCastingTutorial/blob/master/resources/logo.png?raw=true\" /\u003e\u003c/a\u003e\n    \u003ch1 align=\"center\"\u003eRayCasting Tutorial\u003c/h1\u003e\n    \u003cp align=\"center\"\u003eA tutorial repository for anyone who wants to learn how to render RayCasting like old 3D games!\u003c/p\u003e\n    \u003ch3 align=\"center\"\u003e\u003ca href=\"https://github.com/vinibiavatti1/RayCastingTutorial/wiki\"\u003e-- Tutorial --\u003c/a\u003e\u003c/h3\u003e\n\u003c/p\u003e\n\n### Introduction\n\nRayCasting is a technique to create a 3D projection based on 2D plane. This technique was used for old games when computers didn't have a good performance like today computers. You can find this rendering method in [Wolfstein 3D](https://en.wikipedia.org/wiki/Wolfenstein_3D) that is considered to be the first 3D game ever. The game [DOOM](https://en.wikipedia.org/wiki/Doom_(1993_video_game)) uses a similar technique known as [binary space partitioning (BSP)](https://en.wikipedia.org/wiki/Binary_space_partitioning), but this tutorial is focused on the RayCasting implementation only.\n\n\u003cimg src=\"https://upload.wikimedia.org/wikipedia/commons/e/e7/Simple_raycasting_with_fisheye_correction.gif\" /\u003e\n\n### Programming language\n\nThe programming language used for this tutorial is Javascript with HTML5. This was choosen because the ease of implementation and because this language has weak-typing, so this is fast to program in. The other reason for this language is that you will not need a lot of resources to execute your code, just a web browser. I recommend to use some IDE, like [Visual Studio Code](https://code.visualstudio.com/) for coding.  \n\n### Pre-requisites\n\nThe implementation is not so hard, but you have to know the basics of trigonometry, programming language, and graphical programming (canvas). For more details of pre-requisites, check the list below:\n\n- Javascript (Programming language)\n- Basic of Trigonometry\n- HTML5 Canvas\n\n### Tutorial\n\nClick in this [link](https://github.com/vinibiavatti1/RayCastingTutorial/wiki) to access the tutorial. This tutorial is in the Wiki page of this repository.\n\n### Contributing\n\nIf you wants to contribute for this tutorial, suggest some fix, found something wrong or contribute to this project, please, open an issue in this repository and I will analyze it with great pleasure. Thanks!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvinibiavatti1%2Fraycastingtutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvinibiavatti1%2Fraycastingtutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvinibiavatti1%2Fraycastingtutorial/lists"}