Difference between revisions of "Team:UCopenhagen/Test/Particlejs"

(Add particle.js)
 
(Fix &&)
Line 96: Line 96:
 
   stats.begin();
 
   stats.begin();
 
   stats.end();
 
   stats.end();
   if (window.pJSDom[0].pJS.particles && window.pJSDom[0].pJS.particles.array) {
+
   if (window.pJSDom[0].pJS.particles) {
 +
    if (window.pJSDom[0].pJS.particles.array) {
 
     count_particles.innerText = window.pJSDom[0].pJS.particles.array.length;
 
     count_particles.innerText = window.pJSDom[0].pJS.particles.array.length;
 +
    }
 
   }
 
   }
 
   requestAnimationFrame(update);
 
   requestAnimationFrame(update);

Revision as of 10:34, 12 August 2018