andrinr / webgpu-noodles

High performance noodles using webgpu.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WebGPU Noodles

A whole bunch of noodles.

Alt text

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

High performance noodles using webgpu.


Languages

Language:TypeScript 70.4%Language:WGSL 26.9%Language:HTML 1.3%Language:CSS 1.3%