dorkhub

online-wgsl-editor

A tiny WGSL online editor

takahirox
JavaScript1819 forksMITupdated 3 years ago
git clone https://github.com/takahirox/online-wgsl-editor.gittakahirox/online-wgsl-editor

online-wgsl-editor

online-wgsl-editor is a tiny online WGSL (WebGPU Shading language) editor.

You can test WGSL on your web browser. It is good especially for people who want to learn WGSL.

Demo

Online demo

Use Chrome for the Demo. It doesn't run on FireFox and other browsers yet.

Presentation

WebGL + WebGPU Meetup - January 2022 / Slides

Screenshots

How to run locally

$ git clone https://github.com/takahirox/online-wgsl-editor.git
$ cd online-wgsl-editor
$ npm install
$ npm run start
# Access http://localhost:8080 on your web browser

Note: To run the demo locally, download Google Chrome Canary and enable #enable-unsafe-webgpu flag via chrome://flags.

Thanks to

I referred to Three.js and glMatrix for WebGPU and Math.

more like this

urge

The Universal Ruby Game Engine (URGE) Project

C++50

WebGPU-Lab

Demos and experiments in WebGPU technology. Focus on compute shaders.

TypeScript50

search

search projects, people, and tags