Play here: https://svelte-webgpu.vercel.app
Based on the raw WebGPU examples in the references.
Built using SvelteKit.
Currently using my fork of svelte-knobby while waiting for this upstream PR to be integrated.
git submodule update --init
pushd packages/svelte-knobby && npm i && npm run build && npm run package; popd
Install dependencies with pnpm i, start a development server:
pnpm dev
# or start the server and open the app in a new browser tab
pnpm dev --open
To create a production version of the app:
pnpm build
You can preview the production build with pnpm preview.
To deploy your app, you may need to install an adapter for your target environment.
The code is available under the MIT license