I\'m trying to draw 2D using X and Y and Direction.
See the image:
the code for this draw(the values) should be:
var D = { X:2