This is a WebGPU sample that demonstrates the capabilities of this API. The sample showcases a 3D cube with multi-colored faces, and you can modify its position in the code. Please note that this project may not be suitable for everyone, as WebGPU availability depends on your web browser's support for the API.
You can check with this url.
- Web Browser with WebGPU Support: Make sur to have a web browser with WebGPU enable you can check with:
- Web Browsert based on chromium: chrome://flags/#enable-unsafe-webgpu
- Edge: edge://flags/#enable-unsafe-webgpu
- Firefox:
- Go to about:config
- Search WebGPU and activate it.
Clone the project
git clone https://github.com/VeroniDeev/webgpu-sample
Go to the project directory
cd webgpu-sample
Install dependencies
yarn install
or
npm install
Start the server
yarn run serve:dev
If you have any feedback, please feel free to contact us at [email protected].