src/bunnj/FaceMaker.java
public void activateWinplotter() {

        WinPlotterFX plotter = new WinPlotterFX();
        plotter.setWindowTitle("Face Maker");
        plotter.setWindowSize(WINDOW_SIZE, WINDOW_SIZE);
        plotter.setBackgroundColor(Color.BLACK.getRed(), Color.BLACK.getGreen(),
                Color.BLACK.getBlue());
        final boolean showGrid = true;
        plotter.setGrid(showGrid, GRID_INCREMENT, GRID_INCREMENT, Color.GRAY);
        Shape head = createHead(faceMap.get("head").getText());
        Shape leftEye = createLeftEye(faceMap.get("leftEye").getText());
        Shape rightEye = createRightEye(faceMap.get("rightEye").getText());
        Shape nose = createNose(faceMap.get("nose").getText());
        Shape mouth = createMouth(faceMap.get("mouth").getText());

        head.draw(plotter);
        leftEye.draw(plotter);
        rightEye.draw(plotter);
        nose.draw(plotter);
        mouth.draw(plotter);

        plotter.showPlotter();
    }
/**
     * Runs the set of commands necessary to produce a drawn head
     */
Runs the set of commands necessary to produce a drawn head
Runs the set of commands necessary to produce a drawn head
public void activateWinplotter() {
        WinPlotterFX plotter = new WinPlotterFX();
        plotter.setWindowTitle("Face Maker");
        plotter.setWindowSize(WINDOW_SIZE, WINDOW_SIZE);
        plotter.setBackgroundColor(Color.BLACK.getRed(), Color.BLACK.getGreen(),
                Color.BLACK.getBlue());
        final boolean showGrid = true;
        plotter.setGrid(showGrid, GRID_INCREMENT, GRID_INCREMENT, Color.GRAY);
        Shape head = createHead(faceMap.get("head").getText());
        Shape leftEye = createLeftEye(faceMap.get("leftEye").getText());
        Shape rightEye = createRightEye(faceMap.get("rightEye").getText());
        Shape nose = createNose(faceMap.get("nose").getText());
        Shape mouth = createMouth(faceMap.get("mouth").getText());
        head.draw(plotter);
        leftEye.draw(plotter);
        rightEye.draw(plotter);
        nose.draw(plotter);
        mouth.draw(plotter);
        plotter.showPlotter();
    }
public void activateWinplotter ( ) { WinPlotterFX plotter = new WinPlotterFX ( ) ; plotter . setWindowTitle ( "Face Maker" ) ; plotter . setWindowSize ( WINDOW_SIZE , WINDOW_SIZE ) ; plotter . setBackgroundColor ( Color . BLACK . getRed ( ) , Color . BLACK . getGreen ( ) , Color . BLACK . getBlue ( ) ) ; final boolean showGrid = true ; plotter . setGrid ( showGrid , GRID_INCREMENT , GRID_INCREMENT , Color . GRAY ) ; Shape head = createHead ( faceMap . get ( "head" ) . getText ( ) ) ; Shape leftEye = createLeftEye ( faceMap . get ( "leftEye" ) . getText ( ) ) ; Shape rightEye = createRightEye ( faceMap . get ( "rightEye" ) . getText ( ) ) ; Shape nose = createNose ( faceMap . get ( "nose" ) . getText ( ) ) ; Shape mouth = createMouth ( faceMap . get ( "mouth" ) . getText ( ) ) ; head . draw ( plotter ) ; leftEye . draw ( plotter ) ; rightEye . draw ( plotter ) ; nose . draw ( plotter ) ; mouth . draw ( plotter ) ; plotter . showPlotter ( ) ; }
Runs the set of commands necessary to produce a drawn head
Runs the set of commands necessary to produce a drawn head