@SketchpunkLabs
  @SketchpunkLabs
SketchpunkLabs | WebGL2 : 078 : Stamina Wheel @SketchpunkLabs | Uploaded 6 years ago | Updated 2 days ago
After watching a video on how to translate UV coord to polar coord, then use that to draw shapes, it inspired me to try to recreate the stamina wheel from Zelda : Breath of the Wild. We create the shapes, handle some of the animations / states and even shoe horn it into our character controller from the previous video to control how long our cube can run before running out of stamina. Our cube will even need to stand still for a second or two to recover if you exhausted your stamina completely.


=====================================================
Links of Interest

Art of Code : Using Polar Coordinates to create art
https://www.youtube.com/watch?v=r1UOB8NVE8I


=====================================================
GitHub :: https://github.com/sketchpunk/FunWithWebGL2
Patreon :: https://www.patreon.com/sketchpunk
Twitter :: https://twitter.com/SketchpunkLabs
Tumblr :: http://sketchpunklabs.tumblr.com/
Trello :: https://trello.com/b/zcTUPpFy/fun-with-webgl-20
WebGL2 : 078 : Stamina WheelPrototyping Video Textures on CubeWebGL2 : 112 : Quaternion Hinge Constraint / LimitWebGL2 : 097 : ECS P1: Components and EntitiesWebGL2 : 113 : Quaternion Ball Constraint / Limit001 : A Triangle : WebGL 2 WebGPUWebGL2 : 111 : Quaternion Cone ConstraintFun with WebGL 2.0 : 033 : Barycentric Coordinates and WireframesWebGL2 : 100 : ECS P4: Input HandlinggetSource : Bezier Splines in 2D and 3DWebGL 2 : 049 : Ray Cylinder / Capsule IntersectionWebGL2 : 060 : Parse animations from GLTF Files

WebGL2 : 078 : Stamina Wheel @SketchpunkLabs