Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

gaeldevdev/WebGPU-05-Cube-Camera

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebGPU-05-Cube-Camera

Draw a WebGPU cube - Control camera with mouse

Run on Chrome Canary

Download Chrome Canary https://www.google.com/chrome/canary/

And enable WebGPU by typing chrome://flags/#enable-unsafe-webgpu in the address bar

Run the development version

For the development version, run the following command int the main directory:

npm install

and then run

npm run dev

Vite js will then serve locally the page:

  VITE v4.1.1  ready in 200 ms

  ➜  Local:   http://127.0.0.1:5173/
  ➜  Network: use --host to expose
  ➜  press h to show help

Browse the address above in Chrome Canary

Make a build

To make a build run the following command in the main directory:

npm run build

The page is generated in dist/index.html

About

Draw a WebGPU cube - Control camera with mouse

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.