{"id":13598650,"url":"https://github.com/ssloy/tinykaboom","last_synced_at":"2025-05-15T18:07:59.553Z","repository":{"id":45775190,"uuid":"167809514","full_name":"ssloy/tinykaboom","owner":"ssloy","description":"A brief computer graphics / rendering course","archived":false,"fork":false,"pushed_at":"2023-02-22T02:44:54.000Z","size":11166,"stargazers_count":2382,"open_issues_count":2,"forks_count":107,"subscribers_count":51,"default_branch":"master","last_synced_at":"2025-03-31T22:18:32.140Z","etag":null,"topics":["3d","3d-graphics","c-plus-plus","computer-graphics","cpp","fun","graphics","graphics-programming","learning","raytracer","raytracing","raytracing-engine","rendering","rendering-engine","shaders","tutorial"],"latest_commit_sha":null,"homepage":"https://github.com/ssloy/tinykaboom/wiki","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/ssloy.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-01-27T13:03:40.000Z","updated_at":"2025-03-31T14:26:13.000Z","dependencies_parsed_at":"2024-11-30T09:00:45.137Z","dependency_job_id":null,"html_url":"https://github.com/ssloy/tinykaboom","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/ssloy%2Ftinykaboom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssloy%2Ftinykaboom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssloy%2Ftinykaboom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssloy%2Ftinykaboom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ssloy","download_url":"https://codeload.github.com/ssloy/tinykaboom/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247744333,"owners_count":20988783,"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":["3d","3d-graphics","c-plus-plus","computer-graphics","cpp","fun","graphics","graphics-programming","learning","raytracer","raytracing","raytracing-engine","rendering","rendering-engine","shaders","tutorial"],"created_at":"2024-08-01T17:00:54.625Z","updated_at":"2025-04-07T23:08:25.975Z","avatar_url":"https://github.com/ssloy.png","language":"C++","readme":"# KABOOM! in 180 lines of bare C++\n\nThis repository is a teaching aid for my computer graphics lectures. It is not meant to produce the ultimate or even physically realistic renders. It is meant to be **simple**. This project is distributed under the [DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE](https://en.wikipedia.org/wiki/WTFPL).\n\n**Check [the article](https://github.com/ssloy/tinykaboom/wiki) that accompanies the source code.**\n\nThis project is closely related to my  [software raytracer](https://github.com/ssloy/tinyraytracer/wiki). If you are looking for a software rasterizer, check the [other part of the lectures](https://github.com/ssloy/tinyrenderer/wiki).\n\nIn my lectures I tend to avoid third party libraries as long as it is reasonable, because it forces to understand what is happening under the hood. So, the raytracing in 180 lines of plain C++ produces this result:\n![](https://raw.githubusercontent.com/ssloy/tinykaboom/master/out.jpg)\n\n## compilation\n```sh\ngit clone https://github.com/ssloy/tinykaboom.git\ncd tinykaboom\nmkdir build\ncd build\ncmake ..\nmake\n```\n\nYou can open the project in Gitpod, a free online dev evironment for GitHub:\n\n[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/ssloy/tinykaboom)\n\nOn open, the editor will compile \u0026 run the program as well as open the resulting image in the editor's preview.\nJust change the code in the editor and rerun the script (use the terminal's history) to see updated images.\n\n## Homework\nThe possibilities are infinte. For example, you can add the environment map and some transparency:  \n![](https://raw.githubusercontent.com/ssloy/tinykaboom/homework_assignment/envmap1.jpg)\n\nAdd other objects and illuminate them:\n![](https://raw.githubusercontent.com/ssloy/tinykaboom/homework_assignment/envmap2.jpg)\n","funding_links":[],"categories":["C++","CG Tutorials","\u003e 1k ★"],"sub_categories":["Data Management"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fssloy%2Ftinykaboom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fssloy%2Ftinykaboom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fssloy%2Ftinykaboom/lists"}