DEV Community

Discussion on: How to draw gears in WebGL

Collapse
 
jeffery_wright profile image
Jeffery Wright

Interesting, but I wonder how useful this is, what could it be used for? What good is it?

That looks like a lot of imagining in code to produce a passive looped motion graphic, this could be done in AnimateCC with zero coding and you know what it looks like all through the process, no guessing needed. Even a gif would be easier to produce.

Collapse
 
aralroca profile image
Aral Roca

The aim of this article is not to learn how to draw some gears. The aim is to learn WebGL by making some gears. This is the second article in this series so the examples are still pretty basic and can be done in other ways as you mentioned.

However, in the next articles in this series we will see more advanced things like textures, 3d objects, user interactions, etc. The idea is that with this knowledge you can do really useful things like

  • Video game engines
  • 3D libraries
  • Simulations
  • Running machine learning algorithms in the browser taking full advantage of the GPU
  • etc