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: |
![]() |
|
|
|
|
|
|
|
|
|
The pre-placed blocks will draw the ellipse to provide the shape of the face. Add more blocks to draw the other features (hair, eyes, eyebrows, nose, mouth). The nose should be drawn with a Bezier curve.
/* Code generated by RoboBlockly v2.0 */ #include <chplot.h> CPlot plot; plot.backgroundColor("#66cccc"); plot.noStrokeColor(); plot.fillColor("#663333"); plot.ellipse(18, 24, 14, 7, 0); plot.ellipse(18, 19, 16, 8, 0); plot.ellipse(18, 14, 16, 10, 0); plot.fillColor("white"); plot.ellipse(18, 16, 10, 13, 0); plot.fillColor("#663333"); plot.ellipse(18, 22, 10, 6, 0); plot.circle(16, 16, 0.7); plot.circle(20, 16, 0.7); plot.strokeColor("#663300"); plot.arc(16, 16, 1.5, 50, 160); plot.arc(20, 16, 1.5, 20, 130); plot.arc(18, 15, 3.5, 230, 310); plot.noFill(); //plot.bezier(18, 15, 18, 14, 20, 13, 18, 13); 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 the other features (hair, eyes, eyebrows, nose, mouth). The nose should be drawn with a Bezier curve. |
|||||||||||
|
|||||||||||