mc1098 0e52b88742
Update gloo dependencies in yew and examples (#2021)
Updates to using the latest stable gloo, in some cases removing
dependencies on `master` branch.

Removes `weblog` in favour of `gloo_console`, where applicable.
2021-08-29 02:13:06 +01:00
..
2020-09-22 00:17:48 +02:00

WebGL Example

Demo

This is a simple demo using WebGL with Yew to initialize the GL context, create a render loop, and draw to the canvas with basic shaders using web-sys.

Concepts

  • Accessing a DOM element using NodeRef.
  • Using Javascript APIs with web-sys.

Improvements

  • Use a much more flashy shader