瀏覽代碼

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

Mr.doob 13 年之前
父節點
當前提交
efd3de0639
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      examples/canvas_particles_waves.html

+ 1 - 2
examples/canvas_particles_waves.html

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