You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314151617181920
  1. require('aframe');
  2. require('./components/index.js');
  3. require('./systems/index.js');
  4. document.addEventListener("DOMContentLoaded",(event) => {
  5. let body = document.querySelector('body');
  6. let scene = document.createElement('a-scene');
  7. scene.setAttribute('stats','');
  8. let sky = document.createElement('a-sky');
  9. sky.setAttribute('segments-height','5');
  10. sky.setAttribute('segments-width','100');
  11. sky.setAttribute('radius','1000')
  12. scene.appendChild(sky);
  13. body.appendChild(scene);
  14. });