field Coords To Screen Coords
fun fieldCoordsToScreenCoords(vector2d: Vector2d, canvasWidth: Double = CANVAS_WIDTH, canvasHeight: Double = CANVAS_HEIGHT): Vector2d
Converts field coordinates to screen coordinates.
Return
The screen coordinates as a Vector2d object.
Parameters
vector2d
The field coordinates as a Vector2d object.
canvas Width
The width of the canvas.
canvas Height
The height of the canvas.