{"id":27313099,"url":"https://github.com/ahaddad98/cub3d","last_synced_at":"2025-07-26T09:36:57.395Z","repository":{"id":166792513,"uuid":"351795631","full_name":"ahaddad98/cub3D","owner":"ahaddad98","description":"This project  will enable you to explore ray-casting. Your goal will be to make a dynamic view inside a maze, in which you’ll have to find your way.","archived":false,"fork":false,"pushed_at":"2021-05-20T21:41:33.000Z","size":1093,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-12T06:52:00.708Z","etag":null,"topics":["c","minilibx","pixel","ray","raycasting","rgb"],"latest_commit_sha":null,"homepage":"","language":"C","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/ahaddad98.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,"zenodo":null}},"created_at":"2021-03-26T13:43:58.000Z","updated_at":"2022-02-27T12:32:11.000Z","dependencies_parsed_at":"2023-06-11T14:45:13.044Z","dependency_job_id":null,"html_url":"https://github.com/ahaddad98/cub3D","commit_stats":null,"previous_names":["ahaddad98/cub3d"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ahaddad98/cub3D","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahaddad98%2Fcub3D","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahaddad98%2Fcub3D/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahaddad98%2Fcub3D/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahaddad98%2Fcub3D/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ahaddad98","download_url":"https://codeload.github.com/ahaddad98/cub3D/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahaddad98%2Fcub3D/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267145821,"owners_count":24042655,"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-07-26T02:00:08.937Z","response_time":62,"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":["c","minilibx","pixel","ray","raycasting","rgb"],"created_at":"2025-04-12T06:51:58.894Z","updated_at":"2025-07-26T09:36:57.382Z","avatar_url":"https://github.com/ahaddad98.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cub3D\nThis project  will enable you to explore ray-casting. Your goal will be to make a dynamic view inside a maze, in which you’ll have to find your way.\n\n\n\n\u003ca href=\"https://ibb.co/5947FQ0\"\u003e\u003cimg src=\"https://i.ibb.co/b3mfJ40/Screen-Shot-2021-05-20-at-10-02-32-PM.png\" alt=\"Screen-Shot-2021-05-20-at-10-02-32-PM\" border=\"0\"\u003e\u003c/a\u003e\n# First : MiniLibX\nThe keystone of the 42 graphics branch is learning to use MiniLibX\n\nBesides some old videos on intra, you are given the source and the man pages to figure it out.\n\nTo help demystify the man pages I took a moment and formatted them for markdown.\n\nMiniLibX is described in the following man pages:\n\nmlx : MiniLibX overview\nmlx_new_window : manage windows\nmlx_pixel_put : draw inside window\nmlx_new_image : manipulate images\nmlx_loop : handle keyboard or mouse events\nTake some time and read these pages, if you want to read them in the console:\n\nman minilibx/man/man1/mlx.1\n\n# RayCasting !\n\nRaycasting is the process of shooting an invisible ray from a point, in a specified direction to detect whether any colliders lay in the path of the ray.\n\n\n\u003ca href=\"https://imgbb.com/\"\u003e\u003cimg src=\"https://i.ibb.co/GsyKGDh/raycastgrid.gif\" alt=\"raycastgrid\" border=\"0\"\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca target='_blank' href='https://fr.imgbb.com/'\u003e\u003c/a\u003e\u003cbr /\u003e\n\u003ca href=\"https://imgbb.com/\"\u003e\u003cimg src=\"https://i.ibb.co/bWxpHj4/raycastmiss.gif\" alt=\"raycastmiss\" border=\"0\"\u003e\u003c/a\u003e\n\n# Resources\nhttps://lodev.org/cgtutor/raycasting.html \n\u003cbr\u003e\nhttps://wiki.fileformat.com/image/bmp/ \u003cbr\u003e\nhttps://engineering.purdue.edu/ece264/17au/hw/HW15 \u003cbr\u003e\nhttps://stackoverflow.com/questions/13354892/converting-from-rgb-ints-to-hex \u003cbr\u003e\nhttps://qst0.github.io/ft_libgfx/man_mlx.html \u003cbr\u003e\nhttps://qst0.github.io/ft_libgfx/man_mlx.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahaddad98%2Fcub3d","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahaddad98%2Fcub3d","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahaddad98%2Fcub3d/lists"}