learning-webgl icon indicating copy to clipboard operation
learning-webgl copied to clipboard

Experiment 04 · Refactor WebComponents to extract generics

Open olange opened this issue 6 years ago • 0 comments

Extract the generics of setting up a 3D scene from the WebComponents and isolate them in Mixins and dedicated non-visible components:

  • [ ] Create canvas in three-app
  • [ ] Have three-app register the THREE library in window context
  • [ ] Create scene in three-scene
  • [ ] Create camera in three-camera
  • [ ] Call update() method automatically (setup requestAnimationFrame() in a mixin)

olange avatar Jan 24 '19 17:01 olange