{"id":17481658,"url":"https://github.com/matthewjberger/wgpu-example","last_synced_at":"2025-06-12T14:08:11.030Z","repository":{"id":253774831,"uuid":"844482582","full_name":"matthewjberger/wgpu-example","owner":"matthewjberger","description":"A minimal example of using Rust, wgpu, and egui without using eframe","archived":false,"fork":false,"pushed_at":"2025-06-06T00:40:23.000Z","size":1463,"stargazers_count":48,"open_issues_count":0,"forks_count":8,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-06T01:34:20.568Z","etag":null,"topics":["egui","graphics-programming","rust","wgpu-rs","winit"],"latest_commit_sha":null,"homepage":"https://matthewjberger.github.io/wgpu-example/","language":"Rust","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/matthewjberger.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,"zenodo":null}},"created_at":"2024-08-19T10:59:38.000Z","updated_at":"2025-06-06T00:40:25.000Z","dependencies_parsed_at":"2024-08-24T01:48:41.845Z","dependency_job_id":"2b26c618-6d58-41c2-8bb2-5cd91369f9fd","html_url":"https://github.com/matthewjberger/wgpu-example","commit_stats":null,"previous_names":["matthewjberger/wgpu-example"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/matthewjberger/wgpu-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthewjberger%2Fwgpu-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthewjberger%2Fwgpu-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthewjberger%2Fwgpu-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthewjberger%2Fwgpu-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matthewjberger","download_url":"https://codeload.github.com/matthewjberger/wgpu-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthewjberger%2Fwgpu-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259479594,"owners_count":22864362,"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":["egui","graphics-programming","rust","wgpu-rs","winit"],"created_at":"2024-10-18T22:31:39.636Z","updated_at":"2025-06-12T14:08:11.023Z","avatar_url":"https://github.com/matthewjberger.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rust / Winit / Egui / Wgpu Triangle\n\nThis project demonstrates how to setup a [rust](https://www.rust-lang.org/) project\nthat uses [wgpu](https://wgpu.rs/) to render a spinning triangle, supporting\nboth webgl and webgpu [wasm](https://webassembly.org/) as well as native.\n\n\u003e If you're looking to use vulkan directly instead, check out this [rust + vulkan example](https://github.com/matthewjberger/vulkan-example)\n\n## Quickstart\n\n```\n# native\ncargo run -r\n\n# webgpu\ntrunk serve --features webgpu --open\n\n# webgl\ntrunk serve --features webgl --open\n```\n\n\u003e Firefox is still [working on wgpu support](https://news.ycombinator.com/item?id=41157383)\n\u003e but chromium-based browsers like Brave, Vivaldi, Chrome, etc will work\n\n## Prerequisites (web)\n\n* [trunk](https://trunkrs.dev/)\n\n## Screenshots\n  \n![Screenshot 2024-08-20 at 8 17 14 AM](https://github.com/user-attachments/assets/fd841943-a80b-4f27-9d9e-f85bb03d8add)\n![Screenshot 2024-08-20 at 8 17 51 AM](https://github.com/user-attachments/assets/383d0122-f26d-41db-b1de-35512d697830)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatthewjberger%2Fwgpu-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatthewjberger%2Fwgpu-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatthewjberger%2Fwgpu-example/lists"}