Before
writing some graphic applications using pygame, I want to explain about
computer co-ordinate system.
Cartesian
coordinate system is a rectangular coordinate system, mainly used in analytic
geometry. As shown in following figure, every point in plane is identified by x
and y coordinates
Computer
coordinate system is little different from Cartesian coordinate system. The
x-coordinate acts just like Cartesian system, but coordinates are reversed. Rather
than the zero coordinates at the bottom of the graph like in Cartesian
graphics, the zero coordinates is at the top of the screen with the computer.
No comments:
Post a Comment