/rust-wasm-metaball

Primary LanguageRustMIT LicenseMIT

WebGL with Rust and WebAssembly by MDN Tutorial

Performed MDN WebGL tutorial with Rust and WebAssembly.

  • Getting started with WebGL
  • Adding 2D content to a WebGL context
  • Using shaders to apply color in WebGL
  • Animating objects with WebGL
  • Creating 3D objects using WebGL
  • Using textures in WebGL
  • Lighting in WebGL
  • Animating textures in WebGL

*Omit applying texture

Required

Wasm

Install dependencies and build

$ wasm-pack build

Client

Install dependencies

*Before installing npm packages, building wasm is required

cd www
npm install

Start development server

npm run start

build

npm run build