@SketchpunkLabs
  @SketchpunkLabs
SketchpunkLabs | Fun WebGL 2 : 042 : ES6 Modules and Refactoring Fungi @SketchpunkLabs | Uploaded 7 years ago | Updated 2 days ago
Taking time out of webGL to explore module support that has been released on chrome v61. This new feature set creates a new way to write and organize javascript code. One of the best things about it is that it makes it easier to manage large code bases. After showing how modules works and some issues to look out for, we then explore how fungi has been refactored as a module library using this new feature.

=====================================================
### Links of Interest
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/export

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import

=====================================================
GitHub :: https://github.com/sketchpunk/FunWithWebGL2
Patreon :: https://www.patreon.com/sketchpunk
Tumblr :: http://sketchpunklabs.tumblr.com/
Fun WebGL 2 : 042 : ES6 Modules and Refactoring FungiFun with WebGL 2.0 : 031: Bezier Splines SimplificationLamp animationWebGL 2.0 : 044.1 : More Ray to Triangle IntersectionWebGL2 : 132 : Animation RetargetingFun with WebGL 2.0 : 050 : Ray intersect on Terrain ChunksWebGL 2 : 041 : Load Meshes / Skeletons from GLTFWebGL2 : 056 : Swaying Particle Textured GrassWebGL2 : 059 : Tweening, Easing, Emote Oh MyWebGL2 : 064.1 : Smarter Impact Shield EffectUnity3D - Procedurally made hexagon in a circle grid pattern.getSource : Watts Curve

Fun WebGL 2 : 042 : ES6 Modules and Refactoring Fungi @SketchpunkLabs