What are Cartesian coordinates?
Cartesian coordinates indicate the position of points on a two-dimensional or three-dimensional plane. They are based on the coordinate system of the mathematician and philosopher Rene Descartes. Cartesian coordinates consist of numbered lines on two or three axes called the x, y, and z axes. When calculating, these coordinates are often used for graphics programming.
Cartesian coordinates were invented in 1637 by the philosopher, mathematician and scientist Rene Descartes. The Cartesian coordinate system specifies points on two axes, or three axes for 3-D graphs. The position of a point is expressed in terms of its distance from the origin or the point where all axes converge. The x-axis indicates the horizontal plane and the y-axis the vertical plane in two dimensions. In three dimensions, y represents the forward and backward movement and the z-axis represents the vertical plane.
The Cartesian coordinates are shown in brackets: (x, y) for 2-D and (x, y, z) for 3-D graphs. The origin for 2-D is represented as (0,0) and in 3-D as (0,0,0). Examples of other coordinates could be (-2.4), (2.2), or (5, -2, 1). While the origin is in the center in traditional Cartesian geometry, in graphics programming it is in one of the corners of the screen for the sake of simplicity. Cartesian coordinates are used in both 2D and 3D graphics programs, e.g. B. Games, often used to indicate the position of objects.