All Projects β†’ alaingalvan β†’ webgpu-seed

alaingalvan / webgpu-seed

Licence: Unlicense license
πŸ”ΊπŸŒ± An example on how to render a hello triangle with WebGPU.

Programming Languages

typescript
32286 projects
HTML
75241 projects

Projects that are alternatives of or similar to webgpu-seed

Definitelytyped
The repository for high quality TypeScript type definitions.
Stars: ✭ 37,066 (+20723.6%)
Mutual labels:  typescript-definitions, dts, typings
mxgraph-road-to-DefinitelyTyped
Community effort followup to provide mxgraph TypeScript type definitions / typings via DefinitelyTyped
Stars: ✭ 23 (-87.08%)
Mutual labels:  typescript-definitions, typings
react-dts-generator
Typescript definitions for React components.
Stars: ✭ 18 (-89.89%)
Mutual labels:  dts, typings
types
TypeScript Type Definitions same as DefinitelyTyped.
Stars: ✭ 31 (-82.58%)
Mutual labels:  typescript-definitions, typings
redcube
JS renderer based on GLTF to WebGPU or WebGL backends.
Stars: ✭ 86 (-51.69%)
Mutual labels:  webgpu
Bing-Maps-V8-TypeScript-Definitions
This project contains the TypeScript definitions for the Bing Maps V8 Web Control.
Stars: ✭ 36 (-79.78%)
Mutual labels:  typescript-definitions
kahi-ui
Straight-forward Svelte UI for the Web
Stars: ✭ 169 (-5.06%)
Mutual labels:  typescript-definitions
orkid-node
Reliable and modern Redis Streams based task queue for Node.js πŸ€–
Stars: ✭ 61 (-65.73%)
Mutual labels:  typescript-definitions
DiscordBot-Template
A boilerplate / template for discord.js bots with 100% coverage of Discord API, command handler, error handler based on https://discordjs.guide/
Stars: ✭ 129 (-27.53%)
Mutual labels:  typings
opc-types
OpenComputers and TypeScript
Stars: ✭ 18 (-89.89%)
Mutual labels:  typings
woocommerce-stubs
WooCommerce function and class declaration stubs for static analysis.
Stars: ✭ 49 (-72.47%)
Mutual labels:  definitions
TypeScript-Library-Checklist
Your pre-launch checklist.
Stars: ✭ 19 (-89.33%)
Mutual labels:  typescript-definitions
discord.d.ts
Typings for the Discord gateway.
Stars: ✭ 24 (-86.52%)
Mutual labels:  typings
KTX-Parse
KTX 2.0 (.ktx2) parser and serializer.
Stars: ✭ 23 (-87.08%)
Mutual labels:  webgpu
THREE.WebGPURenderer
Experimental Three.js WebGPU renderer
Stars: ✭ 117 (-34.27%)
Mutual labels:  webgpu
foxtrot
A fast, experimental STEP file viewer
Stars: ✭ 151 (-15.17%)
Mutual labels:  webgpu
mt762x-wm8960
MT762X WM8960 ALSA SoC machine driver
Stars: ✭ 19 (-89.33%)
Mutual labels:  dts
svelte-typeahead
Accessible, fuzzy search typeahead component
Stars: ✭ 141 (-20.79%)
Mutual labels:  typescript-definitions
zig-gamedev
Building game development ecosystem for @ziglang!
Stars: ✭ 1,059 (+494.94%)
Mutual labels:  webgpu
sandbox
A sand simulation game
Stars: ✭ 189 (+6.18%)
Mutual labels:  webgpu

Cover Art

πŸ”Ί WebGPU Seed

License Unit Tests

A WebGPU repo you can use to get started with your own renderer.

Setup

First install:

Then type the following in any terminal your such as VS Code's Integrated Terminal.

# πŸ‘ Clone the repo
git clone https://github.com/alaingalvan/webgpu-seed

# πŸ’Ώ go inside the folder
cd webgpu-seed

# πŸ”¨ Start installing dependencies, building, and running at localhost:8080
npm start

Refer to this blog post on designing web libraries and apps for more details on Node.js, packages, etc.

Project Layout

As your project becomes more complex, you'll want to separate files and organize your application to something more akin to a game or renderer, check out this post on game engine architecture and this one on real time renderer architecture for more details.

β”œβ”€ πŸ“‚ node_modules/   # πŸ‘Ά Dependencies
β”‚  β”œβ”€ πŸ“ gl-matrix      # βž• Linear Algebra
β”‚  └─ πŸ“ ...            # πŸ•š Other Dependencies (TypeScript, Webpack, etc.)
β”œβ”€ πŸ“‚ src/            # 🌟 Source Files
β”‚  β”œβ”€ πŸ“„ index.html     #  πŸ“‡ Main HTML file
β”‚  └─ πŸ“„ renderer.ts    # πŸ”Ί Triangle Renderer
β”œβ”€ πŸ“„ .gitignore      # πŸ‘οΈ Ignore certain files in git repo
β”œβ”€ πŸ“„ package.json    # πŸ“¦ Node Package File
β”œβ”€ πŸ“„ license.md      # βš–οΈ Your License (Unlicense)
└─ πŸ“ƒreadme.md        # πŸ“– Read Me!
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].