OSDN Git Service

123
[psychlops/silverlight.git] / test4 / PsychlopsMain.cs
index e7b6754..c880085 100644 (file)
@@ -249,8 +249,8 @@ namespace PsychlopsSilverlight4test
                                //Figures.drawGabor(ref img, 20, 100, 1, 0, frames * 2.0 * Math.PI / tfreq / 60);\r
                                //Figures.drawGaussian(ref img, 20, 1);\r
                                //Figures.drawGrating(ref img, 200, 200, 20, 1, 2, frames * 2.0 * Math.PI / tfreq / 60);\r
-                               img.centering(Mouse.position);\r
-                               img.draw();\r
+                               //img.centering(Mouse.position);\r
+                               //img.draw();\r
                                //g.centering(Mouse.position).draw();\r
                                //g.rotation += 1;\r
 \r
@@ -267,7 +267,7 @@ namespace PsychlopsSilverlight4test
                                        fixation.draw(new Stroke(Color.green, 3));\r
                                }*/\r
 \r
-                               for (int i = 0; i < dots.cood.Length; i++)\r
+                               for (int i = 0; i < dots.cood.Length/4; i++)\r
                                {\r
                                        dots.cood[i].set(Math.random(500), Math.random(500));\r
                                }\r