Type the following in any terminal:
# Clone the repo
git clone https://github.com/Orillusion/orillusion-webgpu-samples.git
# Go inside the folder
cd orillusion-webgpu-samples
# Start installing dependencies
npm install #or yarn
# Run project at localhost:3000
npm run dev #or yarn run dev
ββ π node_modules/ # Dependencies
β ββ π @webgpu # WebGPU types for TS
β ββ π ... # Other dependencies (TypeScript, Vite, etc.)
ββ π src/ # Source files
β ββ π shaders # Folder for shader files
β ββ π *.ts # TS files for each demo
ββ π samples/ # Sample html
β ββ π *.html # HTML entry for each demo
ββ π .gitignore # Ignore certain files in git repo
ββ π index.html # Entry page
ββ π LICENSE # MIT
ββ π logo.png # Orillusion logo image
ββ π package.json # Node package file
ββ π tsconfig.json # TS configuration file
ββ π vite.config.js # vite configuration file
ββ π readme.md # Read Me!
Windows/Mac/Linux:
- Chrome 113+
- Edge: 113+
- Safari: 17.5+ (with
WebGPU
feature flag)
Android (Behind the enable-unsafe-webgpu
flag):
- Chrome Canary 113+
- Edge Canary 113+
IOS:
- Safari: 17.5+ (with
WebGPU
feature flag)