demo/samplepoints.poisson.js
function init() {
  shift++;
  samples = new SamplePoints();
  samples.setBounds( new Rectangle( 25, 25 ).size( space.size.x - 25, space.size.y - 25 ), true );
  samples.poissonSampler( 6 ); // target 6px radius
}
function init() {
  shift++;
  samples = new SamplePoints();
  samples.setBounds( new Rectangle( 25, 25 ).size( space.size.x - 25, space.size.y - 25 ), true );
  samples.poissonSampler( 6 ); // target 6px radius
}
function init ( ) { shift ++ ; samples = new SamplePoints ( ) ; samples . setBounds ( new Rectangle ( 25 , 25 ) . size ( space . size . x - 25 , space . size . y - 25 ) , true ) ; samples . poissonSampler ( 6 ) ; // target 6px radius }
when ready, initiate a new set of SamplePoints. SamplePoints is a kind of PointSet.
when ready initiate a new set of SamplePoints . SamplePoints is a kind of PointSet .