Important
Currently in development!
Node package for our newly developed 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.
Install the package using npm:
npm install jswgpuengine
Add first an import map to shorten paths if needed:
<script type="importmap">
{
"imports": {
"@upf-gti/jswgpuengine": "/node_modules/@upf-gti/jswgpuengine/index.js"
}
}
</script>
import { Module } from '@upf-gti/jswgpuengine';
Module.runEngine( () => {
const engine = Module.Engine.instance;
// ...
} );