public class Circle { private float _xoff, _yoff; private PVector _center; private float _radius; private PVector _intersectOne; private PVector _intersectTwo; public Circle( PVector loc, float r ) { _radius = r; _center = loc; _xoff = _center.x; _yoff = _center.y; } public void update( boolean render) { _xoff += random(0.0001, 0.009); _yoff += random(0.0001, 0.009); _center.x = noise(_xoff) * width+50; _center.y = noise(_yoff) * height+50; if( render ) { noFill(); stroke( 0x05FF6600 ); ellipse( _center.x, _center.y, _radius, _radius ); } } public PVector getCenter() { return _center; } public float getRadius() { return _radius * 0.5; } }