{"id":20652436,"url":"https://github.com/thesofakillers/webgl-classroom","last_synced_at":"2026-04-18T18:32:29.770Z","repository":{"id":70961901,"uuid":"163132875","full_name":"thesofakillers/WebGL-Classroom","owner":"thesofakillers","description":null,"archived":false,"fork":false,"pushed_at":"2018-12-26T03:53:11.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-09T02:40:34.390Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/thesofakillers.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":"2018-12-26T03:39:41.000Z","updated_at":"2018-12-26T03:53:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"f3b1c4f5-c6d3-4ff7-b6e8-d0f6e292a29d","html_url":"https://github.com/thesofakillers/WebGL-Classroom","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thesofakillers/WebGL-Classroom","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thesofakillers%2FWebGL-Classroom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thesofakillers%2FWebGL-Classroom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thesofakillers%2FWebGL-Classroom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thesofakillers%2FWebGL-Classroom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thesofakillers","download_url":"https://codeload.github.com/thesofakillers/WebGL-Classroom/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thesofakillers%2FWebGL-Classroom/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31979929,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T17:30:12.329Z","status":"ssl_error","status_checked_at":"2026-04-18T17:29:59.069Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-16T17:34:58.567Z","updated_at":"2026-04-18T18:32:29.746Z","avatar_url":"https://github.com/thesofakillers.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Classroom Model\r\nOriginally made for Durham University's Department of Computer Science's course _Software Methodologies_ under the sub-module _Computer Graphics_, as part of the coursework in 2017/2018.\r\n\r\nThis repository contains a very simple 3D model of a classroom made with [WebGL](https://www.khronos.org/webgl/), providing some very basic user interaction.\r\n\r\n## Usage\r\nSimply open [classroom.html](Classroom/classroom.html) using a web browser that supports WebGL.\r\n\r\nI recommend the use of Firefox -- Chrome appears to be sluggish.\r\n\r\nThe available commands are:\r\n\r\n\t- arrow keys: look around\r\n\r\n\t- w: move in direction you are facing\r\n\t- s: move away from what you are facing\r\n\t- a: strafe left\r\n\t- d: strafe right\r\n\t- q: strafe upwards\r\n\t- e: strafe downwards\r\n\r\n\t- m: move chairs backwards\r\n\t- n: move chairs forwards\r\n\r\n\t- k: close blinds\r\n\t- l: open blinds\r\n\r\n\t- o: open door\r\n\t- p: close door\r\n\r\n\t- c: erase board\r\n\t- v: write on board\r\n\r\n\t- 1: toggle front left light\r\n\t- 2: toggle front right right\r\n\t- 3: toggle back left light\r\n\t- 4: toggle back right light\r\n\r\nI recommend to not have all the lights on when the blinds are open othewise your students will go blind!\r\n\r\nEnjoy.\r\n\r\n## In the Future\r\nI am very much aware that this could use some massive improvements. Notably, I would like to re-implement the camera. Furthermore, the usage of boxes for creating the various models is quite outdated. In future implementations, I would much rather create models in software such as Blender and then export the mesh data to WebGL.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthesofakillers%2Fwebgl-classroom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthesofakillers%2Fwebgl-classroom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthesofakillers%2Fwebgl-classroom/lists"}