{"id":15964785,"url":"https://github.com/waldyrious/minimal-webgl","last_synced_at":"2026-02-04T06:36:31.306Z","repository":{"id":27911137,"uuid":"31403033","full_name":"waldyrious/minimal-webgl","owner":"waldyrious","description":"The absolute minimal code to get a WebGL canvas showing something","archived":false,"fork":false,"pushed_at":"2025-07-07T20:23:20.000Z","size":11,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"gh-pages","last_synced_at":"2025-07-07T23:14:09.926Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://waldyrious.github.io/minimal-webgl","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/waldyrious.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-27T04:11:29.000Z","updated_at":"2025-07-07T20:23:24.000Z","dependencies_parsed_at":"2022-07-24T15:31:59.647Z","dependency_job_id":null,"html_url":"https://github.com/waldyrious/minimal-webgl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/waldyrious/minimal-webgl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waldyrious%2Fminimal-webgl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waldyrious%2Fminimal-webgl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waldyrious%2Fminimal-webgl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waldyrious%2Fminimal-webgl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/waldyrious","download_url":"https://codeload.github.com/waldyrious/minimal-webgl/tar.gz/refs/heads/gh-pages","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waldyrious%2Fminimal-webgl/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265199743,"owners_count":23726709,"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":[],"created_at":"2024-10-07T17:20:56.701Z","updated_at":"2026-02-04T06:36:26.288Z","avatar_url":"https://github.com/waldyrious.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Minimal WebGL\n\nThe minimal code to get a WebGL canvas showing a simple object.\nMost defaults are left alone\n  (perspective is orthographic, no transformations applied, etc.)\n  to make the code as approachable as possible.\nA single square is shown, at the center of the canvas.\n  The `vertices` array can be changed to show a different shape,\n  and the `color` array edited to change the object's color.\n\nThis code was heavily inspired by [@guciek](https://github.com/guciek)'s\n  [Shortest WebGL example](https://sites.google.com/site/progyumming/javascript/shortest-webgl),\n  but aims to be a fully documented such example\n  (using [Docco](http://jashkenas.github.io/docco/),\n  [groc](https://github.com/nevir/groc) or\n  [this simple script](http://jsfiddle.net/D2nm4/12/)),\n  rather than just the code.\nSee [Issue #2](https://github.com/waldyrious/minimal-webgl/issues/2)\n  for the plans to actually implement the inline documentation view.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaldyrious%2Fminimal-webgl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwaldyrious%2Fminimal-webgl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaldyrious%2Fminimal-webgl/lists"}