From fea05a965edcc6b9d0206ca8b223045f8b065334 Mon Sep 17 00:00:00 2001 From: Yohann Dedy Date: Thu, 30 Aug 2018 11:43:09 +0200 Subject: [PATCH] =?UTF-8?q?Placement=20des=20points=20r=C3=A9par=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dotsWithinCircle.pyde | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dotsWithinCircle.pyde b/dotsWithinCircle.pyde index 04d7f76..408bfeb 100644 --- a/dotsWithinCircle.pyde +++ b/dotsWithinCircle.pyde @@ -2,8 +2,8 @@ from datetime import datetime def posInCir(diam,center): - posX = random(diam) - posY = random(diam) + posX = random(width) + posY = random(height) pos = PVector(posX, posY) dist = center.dist(pos)