
More experimentation with TSL.
Simple Particles and associated geometry handled in a compute shader with TSL.
And a lot of post processing with the provided nodes
Visit https://ulucode.com/random/webgputests/linked/ to play! Requires a browser with WebGPU support.
The important code, regarding TSL /src/lib/elements/LinkedParticles.ts The file is commented and uses mostly descriptive variable names.
To start the development environment for this project, follow these steps:
bash
git clone https://github.com/ULuIQ12/webgpu-tsl-linkedparticles.git
bash
cd webgpu-tsl-linkedparticles
bash
npm install
bash
npm run dev
This will start the development server and open the project in your default browser.
Edit the base path in vite.config.ts
To build the project for production, run the following command:
npm run build
This will create an optimized build of the project in the dist directory.
$ claude mcp add webgpu-tsl-linkedparticles \
-- python -m otcore.mcp_server <graph>