{"id":13406187,"url":"https://github.com/alaingalvan/webgpu-seed","last_synced_at":"2025-04-07T10:28:55.432Z","repository":{"id":36779759,"uuid":"229192092","full_name":"alaingalvan/webgpu-seed","owner":"alaingalvan","description":"🔺🌱 An example on how to render a hello triangle with WebGPU.","archived":false,"fork":false,"pushed_at":"2023-04-17T21:56:31.000Z","size":189,"stargazers_count":296,"open_issues_count":3,"forks_count":28,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-07-31T19:49:50.369Z","etag":null,"topics":["definitions","dts","types","typescript","typescript-definitions","typings","webgpu"],"latest_commit_sha":null,"homepage":"https://alain.xyz/blog/raw-webgpu","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alaingalvan.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-12-20T04:49:19.000Z","updated_at":"2024-07-05T09:04:38.000Z","dependencies_parsed_at":"2024-01-13T17:58:01.769Z","dependency_job_id":null,"html_url":"https://github.com/alaingalvan/webgpu-seed","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alaingalvan%2Fwebgpu-seed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alaingalvan%2Fwebgpu-seed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alaingalvan%2Fwebgpu-seed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alaingalvan%2Fwebgpu-seed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alaingalvan","download_url":"https://codeload.github.com/alaingalvan/webgpu-seed/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247635056,"owners_count":20970659,"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":["definitions","dts","types","typescript","typescript-definitions","typings","webgpu"],"created_at":"2024-07-30T19:02:23.524Z","updated_at":"2025-04-07T10:28:55.396Z","avatar_url":"https://github.com/alaingalvan.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"![Cover Art](https://alain.xyz/blog/raw-webgpu/assets/cover.jpg)\n\n# 🔺 WebGPU Seed\n\n[![License][license-img]][license-url]\n[![Unit Tests][travis-img]][travis-url]\n\nA WebGPU repo you can use to get started with your own renderer.\n\n- [🔳 Codepen Example](https://codepen.io/alaingalvan/pen/GRgvLGw)\n\n- [💬 Blog Post](https://alain.xyz/blog/raw-webgpu)\n\n## Setup\n\nFirst install:\n\n- [Git](https://git-scm.com/)\n\n- [Node.js](https://nodejs.org/en/)\n\n- A Text Editor such as [Visual Studio Code](https://code.visualstudio.com/).\n\nThen type the following in any terminal your such as [VS Code's Integrated Terminal](https://code.visualstudio.com/docs/editor/integrated-terminal).\n\n```bash\n# 🐑 Clone the repo\ngit clone https://github.com/alaingalvan/webgpu-seed\n\n# 💿 go inside the folder\ncd webgpu-seed\n\n# 🔨 Start installing dependencies, building, and running at localhost:8080\nnpm start\n```\n\n\u003e Refer to [this blog post on designing web libraries and apps](https://alain.xyz/blog/designing-a-web-app) for more details on Node.js, packages, etc.\n\n## Project Layout\n\nAs your project becomes more complex, you'll want to separate files and organize your application to something more akin to a game or renderer, check out this post on [game engine architecture](https://alain.xyz/blog/game-engine-architecture) and this one on [real time renderer architecture](https://alain.xyz/blog/realtime-renderer-architectures) for more details.\n\n```bash\n├─ 📂 node_modules/   # 👶 Dependencies\n│  ├─ 📁 gl-matrix      # ➕ Linear Algebra\n│  └─ 📁 ...            # 🕚 Other Dependencies (TypeScript, Webpack, etc.)\n├─ 📂 src/            # 🌟 Source Files\n│  ├─ 📄 index.html     #  📇 Main HTML file\n│  └─ 📄 renderer.ts    # 🔺 Triangle Renderer\n├─ 📄 .gitignore      # 👁️ Ignore certain files in git repo\n├─ 📄 package.json    # 📦 Node Package File\n├─ 📄 license.md      # ⚖️ Your License (Unlicense)\n└─ 📃readme.md        # 📖 Read Me!\n```\n\n\n[license-img]: https://img.shields.io/:license-unlicense-blue.svg?style=flat-square\n[license-url]: https://unlicense.org/\n[travis-img]: https://img.shields.io/travis/com/alaingalvan/webgpu-seed.svg?style=flat-square\n[travis-url]:https://www.travis-ci.com/github/alaingalvan/webgpu-seed\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falaingalvan%2Fwebgpu-seed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falaingalvan%2Fwebgpu-seed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falaingalvan%2Fwebgpu-seed/lists"}