Skip to content

2ish-file standalone sample for a tutorial.

Notifications You must be signed in to change notification settings

kainino0x/webgpu-boids

Repository files navigation

WebGPU Boids Tutorial Code

Requires Chrome 113+ or Firefox 114.

Updated April 2023 (compatible with shipping version of Chrome).

Talk Recording (with outdated slides)

Details

The interesting file in this repository is boids.ts. The rest is setup and configuration.

The boids.js file is the compiler-generated output of boids.ts. For a live development server that keeps boids.js up-to-date and live-reloads the webpage, first npm install then run npm start.