Skip to content

Orbiit/graphacean

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

graphacean

ferric grapheme

To build, run

wasm-pack build --target web

then do python -m http.server or something to host a local server to test the wasm thing.

For a new file, do

use wasm_bindgen::prelude::*;

#[wasm_bindgen]
pub struct WhateverYouWantPublicToJS {
    // ...
}

#[wasm_bindgen]
impl WhateverYouWantPublicToJS {
    // ...
}