jpaquim / svelte-webgpu

SvelteKit port of https://surma.dev/things/webgpu/index.html

Home Page:https://svelte-webgpu.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

svelte-webgpu

Play here: https://svelte-webgpu.vercel.app

Based on the raw WebGPU examples in the references.

Svelte port

Built using SvelteKit.

Building svelte-knobby submodule

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

Developing

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

Building

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.

References

License

The code is available under the MIT license

About

SvelteKit port of https://surma.dev/things/webgpu/index.html

https://svelte-webgpu.vercel.app/

License:MIT License


Languages

Language:Svelte 88.2%Language:CSS 6.0%Language:JavaScript 4.5%Language:HTML 1.4%