Skip to content

ULuIQ12/webgpu-tsl-linkedparticles

Repository files navigation

Linked particles

Linked particles

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

Website

Visit https://ulucode.com/random/webgputests/linked/ to play! Requires a browser with WebGPU support.

Where to look

The important code, regarding TSL /src/lib/elements/LinkedParticles.ts The file is commented and uses mostly descriptive variable names.

Getting Started

To start the development environment for this project, follow these steps:

  1. Clone the repository to your local machine:
git clone https://github.com/ULuIQ12/webgpu-tsl-linkedparticles.git
  1. Navigate to the project directory:
cd webgpu-tsl-linkedparticles
  1. Install the dependencies:
npm install
  1. Start the development server:
npm run dev

This will start the development server and open the project in your default browser.

Building the Project

  1. Edit the base path in vite.config.ts

  2. 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.

Acknowledgements

Resources

About

Experimentation with TSL, particles and geometry in compute

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published