Grid: | ||
Tics Lines: |
|
Width
px
|
Hash Lines: |
|
Width
px
|
Labels: |
|
Font
px
|
Trace Lines: | ||
Robot 1: |
|
Width
px
|
Robot 2: |
|
Width
px
|
Robot 3: |
|
Width
px
|
Robot 4: |
|
Width
px
|
Axes: | x-axis | y-axis | Show Grid |
Grid: | 24x24 inches | 36x36 inches | 72x72 inches |
96x96 inches | 192x192 inches | ||
Quad: | 4 quadrants | 1 quadrant | Hardware |
Units: | US Customary | Metric |
Background: |
![]() |
|
|
|
|
|
|
|
|
|
/* Code generated by RoboBlockly v2.0 */ #include <chplot.h> CPlot plot; plot.backgroundColor("#66cccc"); plot.noStrokeColor(); plot.fillColor("white"); plot.fillOpacity(0.5); plot.ellipse(18, 18, 20, 24, 0); plot.fillOpacity(1); plot.fillColor("#330000"); plot.circle(15, 18, 0.9); plot.circle(21, 18, 0.9); plot.strokeColor("#330000"); plot.arc(18, 16, 7, 240, 300); plot.noFill(); //plot.bezier(18, 17, 18, 16, 21, 12, 18, 12); plot.grid(PLOT_OFF); plot.axisRange(PLOT_AXIS_XY, 0, 36); plot.ticsRange(PLOT_AXIS_XY, 6); plot.sizeRatio(1); plot.plotting();
Problem Statement: The pre-placed blocks will draw the ellipse to provide the shape of the face. Add more blocks to draw features at the appropriate locations. The eyes will be circles that are located on the red line, which is located halfway down the face. The bottom of the nose will touch the green line, 3/4 of the way down the face. The bottom of the smile will touch the mouth line, 7/8 of the way down the face. The face is 24 units in height. |
|||||||||||
|
|||||||||||