{"id":16598490,"url":"https://github.com/justinclift/tinygo-wasm-basic-triangle","last_synced_at":"2025-10-29T13:30:38.812Z","repository":{"id":80825964,"uuid":"195049996","full_name":"justinclift/tinygo-wasm-basic-triangle","owner":"justinclift","description":"Use TinyGo to create the basic WebGL triangle in Wasm. About 9.5kB compressed.","archived":false,"fork":false,"pushed_at":"2020-02-29T16:43:21.000Z","size":48,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-02T01:32:47.744Z","etag":null,"topics":["tinygo","wasm","webassembly","webgl"],"latest_commit_sha":null,"homepage":"https://justinclift.github.io/tinygo-wasm-basic-triangle/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/justinclift.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":"2019-07-03T12:34:11.000Z","updated_at":"2024-07-28T09:12:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"f898013e-cd18-4c17-97e3-22ed749efde0","html_url":"https://github.com/justinclift/tinygo-wasm-basic-triangle","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/justinclift%2Ftinygo-wasm-basic-triangle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinclift%2Ftinygo-wasm-basic-triangle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinclift%2Ftinygo-wasm-basic-triangle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinclift%2Ftinygo-wasm-basic-triangle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/justinclift","download_url":"https://codeload.github.com/justinclift/tinygo-wasm-basic-triangle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238825834,"owners_count":19537135,"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":["tinygo","wasm","webassembly","webgl"],"created_at":"2024-10-12T00:08:48.058Z","updated_at":"2025-10-29T13:30:38.373Z","avatar_url":"https://github.com/justinclift.png","language":"Go","readme":"This is just simple research code, directly copied from bobcob7,\nto see if TinyGo wasm can be used for WebGL.\n\nRunning demo:\n\n\u0026nbsp; \u0026nbsp; https://justinclift.github.io/tinygo-wasm-basic-triangle/\n\nOriginal source:\n\n\u0026nbsp; \u0026nbsp; https://github.com/bobcob7/wasm-basic-triangle\n\nTo compile the WebAssembly file:\n\n    $ tinygo build -target wasm -no-debug -o docs/wasm.wasm main.go\n\nTo strip the custom name section from the end (reducing file size\nfurther):\n\n    $ wasm2wat docs/wasm.wasm -o docs/wasm.wat\n    $ wat2wasm docs/wasm.wat -o docs/wasm.wasm\n    $ rm -f docs/wasm.wat\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustinclift%2Ftinygo-wasm-basic-triangle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjustinclift%2Ftinygo-wasm-basic-triangle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustinclift%2Ftinygo-wasm-basic-triangle/lists"}