andrinr / webgpu-salt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WebGPU Metal Noodles

A whole bunch of metal noodles.

Noodles

How to run

npm install
npm run dev

How it works

There are two main parts to this project:

A compute shader which solves the equation of motions of the primary particles and lets the secondary particles trace the path of the primary particles.

A render pipeline, where the vertex shader is used to generate the noodle geometry, where each particle corresponds to a joint of the noodle.

About


Languages

Language:TypeScript 54.0%Language:WGSL 43.5%Language:CSS 1.6%Language:HTML 1.0%