Difference between revisions of "Team:Cologne-Duesseldorf/Test3"

Line 6: Line 6:
  
 
<script>
 
<script>
(function() {
+
document.onload = function() {
 
   var particlesQuantity = 100,
 
   var particlesQuantity = 100,
 
     velocity = 0.3,
 
     velocity = 0.3,
Line 106: Line 106:
 
     resizeCanvas();
 
     resizeCanvas();
 
   }
 
   }
})();
+
}();
  
 
</script>
 
</script>

Revision as of 01:44, 1 November 2017

Your browser does not support the canvas element.