Pārlūkot izejas kodu

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

Mr.doob 13 gadi atpakaļ
vecāks
revīzija
efd3de0639
1 mainītis faili ar 1 papildinājumiem un 2 dzēšanām
  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();
 
 					}