kainino0x / webgpu-boids

2ish-file standalone sample for a tutorial.

Home Page:https://kai.graphics/webgpu-boids/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WebGPU Boids Tutorial Code

Live Demo

Requires Chrome 113+ or Firefox 114.

Tutorial Slides

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.

About

2ish-file standalone sample for a tutorial.

https://kai.graphics/webgpu-boids/


Languages

Language:TypeScript 49.9%Language:JavaScript 49.1%Language:HTML 1.0%