void animateAnchor(float newX, float newY,String timeLabel){  	   	
    	 parent.strokeCap(parent.ROUND);
   	     parent.stroke(anchorColour.getRGB());
   	     parent.strokeWeight(10);
         Coordinate endC = this.hintCoords.get(this.numTimeSlices-1);        
         ArrayList<Coordinate> coords = findPerpendicularLine(newX,newY,endC.x,endC.y,7.0f);
         
         if (coords==null){ //At the last path segment
        	 endC = this.hintCoords.get(this.numTimeSlices);        
        	 coords = findPerpendicularLine(newX,newY,endC.x,endC.y,7.0f);             	
         }
         
         parent.line(coords.get(0).x, coords.get(0).y, coords.get(1).x, coords.get(1).y);  
        
         PFont font = parent.createFont("Droid Sans",20,true);
	   	 parent.textFont(font);
	   	 parent.fill(yearLabel.getRGB());
	   	 ArrayList<Coordinate> textCoords = findPerpendicularLine(newX,newY,endC.x,endC.y,20.0f);
   	     parent.text(timeLabel, textCoords.get(0).x, textCoords.get(0).y);
    }