Skip to content

utkarshkukreti/draco-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Draco Starter

A starter for Draco.

Running

Install wasm-bindgen-cli (if you haven't already):

$ cargo install wasm-bindgen-cli

From this directory, run either make, or if you don't have make or want to do it manually, run:

$ cargo build --target wasm32-unknown-unknown
$ wasm-bindgen target/wasm32-unknown-unknown/debug/draco-starter.wasm --out-dir . --no-modules --no-modules-global DracoStarter

Start an HTTP server of your choice and open index.html. If you have Node.js installed, you can use serve:

$ npm i -g serve
$ serve

and open http://localhost:5000.