{"id":13523758,"url":"https://s-macke.github.io/WebGPU-Lab/","last_synced_at":"2025-04-01T01:33:28.853Z","repository":{"id":74367916,"uuid":"408557792","full_name":"s-macke/WebGPU-Lab","owner":"s-macke","description":"Demos and experiments in WebGPU technology. Focus on compute shaders.","archived":false,"fork":false,"pushed_at":"2024-10-29T20:06:37.000Z","size":1745,"stargazers_count":38,"open_issues_count":0,"forks_count":4,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-26T14:08:29.757Z","etag":null,"topics":["2d-graphics","compute-shader","demos","webgpu","wgsl-shader"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/s-macke.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":"2021-09-20T18:30:19.000Z","updated_at":"2025-02-24T18:59:56.000Z","dependencies_parsed_at":"2024-01-13T22:32:17.690Z","dependency_job_id":"dcdbb6be-2da3-4eef-895c-cbdb45697844","html_url":"https://github.com/s-macke/WebGPU-Lab","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/s-macke%2FWebGPU-Lab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s-macke%2FWebGPU-Lab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s-macke%2FWebGPU-Lab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s-macke%2FWebGPU-Lab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/s-macke","download_url":"https://codeload.github.com/s-macke/WebGPU-Lab/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246567263,"owners_count":20798144,"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":["2d-graphics","compute-shader","demos","webgpu","wgsl-shader"],"created_at":"2024-08-01T06:01:03.429Z","updated_at":"2025-04-01T01:33:23.843Z","avatar_url":"https://github.com/s-macke.png","language":"TypeScript","funding_links":[],"categories":["Demos"],"sub_categories":["Safari"],"readme":"# WebGPU-Experiments\n\nDemos and experiments in WebGPU technology. The focus is especially on compute shaders.\n\n# **[Demo][project demo]**\n\n## Description\n\n### WebGPU Features\nShows the features and limits of the selected GPU. \nTwo different GPU types can be selected. Either \"high-performance\" or \"low-power\".\nThis plays only a role, if you have more than one GPU in your system.\n\n### Simple Render of Texture\nSimple texture rendering. The image is transferred into a texture and is rendered via the render pipeline.\n\n[Vertex Shader](src/scripts/render/render.vert.wgsl)\n\n[Fragment Shader](src/scripts/render/render.frag.wgsl)\n\n### Global illumination\nConversion from the [smallpt](https://www.kevinbeason.com/smallpt/) raytracer into a shader.\n\nMain Source: https://www.shadertoy.com/view/4sfGDB\n\nTranslated from GLSL to WGSL.\n\n[Compute Shader](src/scripts/raytrace/light.wgsl)\n\n### Protean Clouds\nSource: https://www.shadertoy.com/view/3l23Rh\n\nTranslated from GLSL to WGSL.\n\n[Compute Shader](src/scripts/raytrace/cloud.wgsl)\n\n### Collatz Conjecture\nSource: https://github.com/gfx-rs/wgpu/tree/trunk/examples/hello-compute\n\n[Compute Shader](src/scripts/collatz/collatz.wgsl)\n\n### Voronoise\nSource: https://www.shadertoy.com/view/Xd23Dh\n\nTranslated from GLSL to WGSL.\n\n[Compute Shader](src/scripts/raytrace/voronoise.wgsl)\n\n### FBM\nA Noise + FBM shader.\n\n[Compute Shader](src/scripts/raytrace/fbm.wgsl)\n\n### Diffuse Raytracing\nGlobal illumination with diffuse scattering based on ray-triangle intersections.\n\n### 2D Light\nOriginal Source: https://www.shadertoy.com/view/4dfXDn\n\nTranslated from GLSL to WGSL.\n\n### 2D Light Propagation\nLight Propagation based on circular harmonics.\n\nOriginal Source: https://www.shadertoy.com/view/fld3R4\n\nTranslated from GLSL to WGSL.\n\n[Compute Shader](src/scripts/light/)\n\n### Signed Distance Field\nSource: https://www.shadertoy.com/view/tdjBzG\n\nTranslated from GLSL to WGSL.\n\n[Compute Shader](src/scripts/sdf/sdf.wgsl)\n\n### Fluid Simulation\n\n[Code](src/scripts/fluid)\n\n# Tutorial\n\nhttps://sotrh.github.io/learn-wgpu/beginner/tutorial5-textures/#loading-an-image-from-a-file\n\n[project demo]: https://s-macke.github.io/WebGPU-Lab/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/s-macke.github.io%2FWebGPU-Lab%2F","html_url":"https://awesome.ecosyste.ms/projects/s-macke.github.io%2FWebGPU-Lab%2F","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/s-macke.github.io%2FWebGPU-Lab%2F/lists"}