Parcourir la source

Fixed wave particles example. Not sure where the stroke() came from.

Mr.doob il y a 13 ans
Parent
commit
efd3de0639
1 fichiers modifiés avec 1 ajouts et 2 suppressions
  1. 1 2
      examples/canvas_particles_waves.html

+ 1 - 2
examples/canvas_particles_waves.html

@@ -60,8 +60,7 @@
 
 						context.beginPath();
 						context.arc( 0, 0, 1, 0, PI2, true );
-						context.closePath();
-						context.stroke();
+						context.fill();
 
 					}