Skip to content

robertIngrum/rusty_gl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Readme

This will mostly be tech demos for the Rust + WebAssembly + WebGL stack. If anything useful comes of this repo, we can extract it to a separate package and build from there.

TL;DR

  • You need:
  • Steps:
    1. Build:
      wasm-pack build
    2. Test:
      wasm-pack test --headless --firefox
    3. Install frontend dependencies
      # From ./www
      npm install
    4. Run server:
      # From ./www
      npm run start

Before You Start

If you're unfamiliar with WebAssembly and Rust, you may want to get started with Conway's Game of Life Tutorial.

If you want to get an idea of how Rust, WebGL, and WebAssembly interact, follow this Basic Water Tutorial.

Rust Playground

Basic Structure

  • ./src contains the Rust source code.
  • ./tests contains tests for our Rust code.
  • ./www contains the code for our web server.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published