Overview
The Svelte WebGPU project is a SvelteKit application that provides a port of the raw WebGPU examples. It is built using SvelteKit and includes a submodule called svelte-knobby. The project is currently in development and relies on dependencies that can be installed using pnpm. The code for the project is available under the MIT license.
Features
- Ported Raw WebGPU Examples: The project is a port of the raw WebGPU examples, allowing developers to explore and learn about WebGPU functionality.
- Built with SvelteKit: The application is built using SvelteKit, a framework for building web applications using the Svelte framework.
- Integration with svelte-knobby: The project currently uses a fork of the svelte-knobby submodule, which provides UI controls for tweaking WebGPU parameters.
Installation
To install the Svelte WebGPU project, follow these steps:
- Clone the project repository.
- Install dependencies using pnpm by running the command
pnpm i. - Start a development server by running the command
pnpm dev.
To create a production version of the app, use the following command:
pnpm build
You can preview the production build using the command:
pnpm preview
To deploy your app, you may need to install an adapter for your target environment.
Summary
The Svelte WebGPU project is a SvelteKit application that provides a port of the raw WebGPU examples. It allows developers to explore WebGPU functionality and is built using SvelteKit and the svelte-knobby submodule. The project is currently in development and can be installed and run using pnpm. It is licensed under the MIT license.