Skip to content

lunarcleint/webgl-rust-runtime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebGL Rust Runtime

Amazing Example

This is a test so don't take it seriously... Any feedback is helpful!!!

I'm still learning Rust and this is part of a bigger idea I have (why it's web browser only).

Build Instructions

  • Install Rust with the rustup installer
  • Add the web assembly target: rustup target add wasm32-unknown-unknown
  • Install the wasm packer: cargo install wasm-pack
  • Run wasm-pack build --target web to build (exports to pkg/)

Serve Instructions

But how do I see it????

  • Install the Python interpreter and runtime
  • Run python -m http.server to serve to localhost
  • Go to your browser and go to localhost:8000
  • Alternatively you can use npm with http-server

About

Currently a WIP......

Resources

Stars

Watchers

Forks