{"id":17647454,"url":"https://github.com/a5huynh/planet-generator","last_synced_at":"2025-05-07T07:13:36.732Z","repository":{"id":764933,"uuid":"441215","full_name":"a5huynh/planet-generator","owner":"a5huynh","description":"OpenGL/WebGL Planet Generation","archived":false,"fork":false,"pushed_at":"2023-07-18T20:15:28.000Z","size":2942,"stargazers_count":34,"open_issues_count":2,"forks_count":6,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-05-07T07:13:09.953Z","etag":null,"topics":["c-plus-plus","javascript","opengl","typescript","webgl"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/a5huynh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2009-12-18T00:22:43.000Z","updated_at":"2024-07-15T09:28:27.000Z","dependencies_parsed_at":"2025-03-10T19:37:26.483Z","dependency_job_id":"209b7b6e-aa41-4a9a-a85c-f293992fbd69","html_url":"https://github.com/a5huynh/planet-generator","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/a5huynh%2Fplanet-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a5huynh%2Fplanet-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a5huynh%2Fplanet-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a5huynh%2Fplanet-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/a5huynh","download_url":"https://codeload.github.com/a5huynh/planet-generator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252831270,"owners_count":21810784,"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":["c-plus-plus","javascript","opengl","typescript","webgl"],"created_at":"2024-10-23T11:13:29.733Z","updated_at":"2025-05-07T07:13:36.717Z","avatar_url":"https://github.com/a5huynh.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"## planet generator\n\n__Author__: Andrew Huynh\n\n__License__: MIT\n\n\n![example-planet gif](docs/example-planet.gif)\n\n### a little history\n\nBack when I was a wee lad, around the years of 2008-2009, I wanted to\nexperiment/play around with WebGL, which at the time was a relatively new\npiece of technology. This code stemmed from the initial attempt and,\nunfortunately, due to time constraints I could not pursue the project any\nfurther than what I have here.\n\nThe planet generation code is based off of an even older school project\nintended to build a complex 3D scene in OpenGL. For kicks, you can check\nout the class project page here: [CSE167 Final Projects][cse169] and a\nsmall write-up I did afterwards here:\n[CSE167 Final Project Results][cse169results]\n\n\n### about this repo\n\nThis repository contains WebGL \u0026 C++ code that setups and generates a\n\"planet\" model. This is accomplished using the well known\n[Particle Deposition][pdepo] technique. If you want to dive directly into\nhow the planet is generated, check the `generate` function in the file\n`planet.js`.\n\nIf you're curious about how to interact with WebGL at a low level rather\nthan save time and use a nice library like [Three.js][3js], check out the\n`gl*.js` files for a fun time.\n\nAll code is MIT licensed, so go ahead and use it in your next great game or\n3D visualization tool!\n\n[3js]: http://threejs.org/\n[cse169]: http://graphics.ucsd.edu/twiki/bin/view.pl/Classes/CSE167F09-FinalProjects \"CSE 167 Final Projects\"\n[cse169results]: https://a5huynh.github.io/posts/2009/cse-167-final-project-results/\n[pdepo]: https://web.archive.org/web/20160307062357/http://www.lighthouse3d.com/opengl/terrain/index.php3?particle \"Particle Deposition\"\n\n\n### typescript updates (2017)\n\nIn the year 2017, I decided to revisit portions of the planet generation code and\ncomplete some updates I've been meaning to do for several years. You can check out\nthe code under the [`src/typescript`](src/typescript) directory and if you're interested in reading\na walkthrough of my thoughts and explanations feel free to check out the following:\n\n- [Planet Rendering Pt. 1][blog-post-1]\n- [Planet Rendering Pt. 2][blog-post-2]\n\n[blog-post-1]: https://a5huynh.github.io/posts/2017/tbt-planet-rendering/ \"TBT: Planet Rendering\"\n[blog-post-2]: https://a5huynh.github.io/posts/2017/planet-rendering-pt-2/ \"Planet Rendering Pt. 2\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa5huynh%2Fplanet-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fa5huynh%2Fplanet-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa5huynh%2Fplanet-generator/lists"}