Skip to content

seandmccarthy/wizard-staff-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wizard Staff Generator

Deterministic pixel art wizard staff generator. Enter a name, get a unique staff. Built with Rust compiled to WebAssembly.

Prerequisites

  • Rust (stable)
  • WASM target: rustup target add wasm32-unknown-unknown
  • wasm-pack: cargo install wasm-pack

Build

./build.sh

Run locally

From the web/ directory, start any static HTTP server:

# Python
python3 -m http.server 9090

# Ruby
ruby -run -e httpd . -p 9090

Then open http://localhost:9090.

Deploy

Copy these files to any static web host:

web/index.html
web/index.js
web/pkg/wizard_staff.js
web/pkg/wizard_staff_bg.wasm

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors