From t-o-f

P5js: À l'intérieur d'un cercle

Contents (hide)

  1. 1. Algorithme
  2. 2. Exemple(s)

1.  Algorithme

Un point est à l'intérieur d'un cercle si :

if ( dist( xPoint, yPoint , xCercle , yCercle) < rayon ) {

}

2.  Exemple(s)

Récupéré sur http://wiki.t-o-f.info/P5js/%c3%80Lint%c3%a9rieurDunCercle
Page mise à jour le 09 February 2017 à 11h54