https://github.com/upf-gti/jswgpuengine
wgpuEngine Node Package
https://github.com/upf-gti/jswgpuengine
3d node npm webgpu wgpuengine
Last synced: 2 months ago
JSON representation
wgpuEngine Node Package
- Host: GitHub
- URL: https://github.com/upf-gti/jswgpuengine
- Owner: upf-gti
- License: mit
- Created: 2024-12-10T10:35:18.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-06T16:51:11.000Z (over 1 year ago)
- Last Synced: 2025-03-06T17:44:21.345Z (over 1 year ago)
- Topics: 3d, node, npm, webgpu, wgpuengine
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/@upf-gti/jswgpuengine
- Size: 4.11 MB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# wgpuEngine Node Package
> [!IMPORTANT]
> Currently in development!
Node package for our newly developed [wgpuEngine](https://github.com/upf-gti/wgpuEngine). Since bindings from the C++ original engine are not completely integrated, this package only provides a simple and work-in-progress interface to start developing some demos and prototypes.
## Installation
Install the package using npm:
```bash
npm install jswgpuengine
```
## Quick start
Add first an import map to shorten paths if needed:
```html
{
"imports": {
"@upf-gti/jswgpuengine": "/node_modules/@upf-gti/jswgpuengine/index.js"
}
}
```
```js
import { Module } from '@upf-gti/jswgpuengine';
Module.runEngine( () => {
const engine = Module.Engine.instance;
// ...
} );
```