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> double d; CPlot plot; for(d = -24; d <= 36; d += 0.8) { plot.noStrokeColor(); //plot.backgroundImage("stars.png"); plot.fillColor("#999999"); plot.ellipse(18, d + 24, 2, 3.5, 0); plot.fillColor("#666666"); plot.ellipse(18, d + 6, 4.5, 12, 0); plot.fillColor("#666666"); plot.rectangle(17, d + 11, 2, 13); plot.fillColor("#000066"); plot.rectangle(15.8, d, 4.4, 6); plot.fillColor("red"); plot.triangle(15.8, d + 6, 18, d + 6, 16.5, d + 1.3); plot.triangle(17, d + 6, 19, d + 6, 18.3, d); plot.triangle(20.27, d + 6, 18.5, d + 6, 19.7, d + 1.3); delaySeconds(0.008); } plot.label(PLOT_AXIS_XY, ""); plot.grid(PLOT_OFF); plot.tics(PLOT_AXIS_XY, PLOT_OFF); plot.axis(PLOT_AXIS_XY, 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 draw a rocket. Animate the rocket to appear to launch from below the screen upwards until it is off the screen. |
|||||||||||
|
|||||||||||