1.6 Using Graphics in JavaScript
-
Incorrect
Correct
No Answer was selected
Invalid Answer
Vocabulary
| Term | Definition |
|---|---|
| Constant | A variable in a program that has a value that does not change. |
| Magic Number | A number in your code that appears arbitrary. These should all be replaced with calculations or constants. |
| Canvas | The screen in which our graphics programs are drawn. |
| Coordinate system | A coordinate system uses numbers as coordinates to place objects in a geometric space. |
| getWidth() | JavaScript function that returns the width of the graphics canvas |
| getHeight() | JavaScript function that returns the height of the graphics canvas |
| Radius | The length between the center and edge of a circle |