pixel
One tiny dot of the screen; positions in a graphics window are measured in pixels by default.
In more detail
A 200 by 200 window is 200 pixels wide and 200 high. Pixel coordinates start at the top-left corner with the y axis pointing down, unlike maths graphs; setCoords can turn it the right way up.
Related terms
- coordinates — A pair of numbers, x across and y down or up, that gives a position in a window.
- setCoords() — The GraphWin method that sets your own coordinate system, giving the x and y of the lower-left and upper-right corners.
Taught in
- A Graphics Introduction — Hands-on Python: Complete Video Course & Book
- Sample Graphics Programs — Hands-on Python: Complete Video Course & Book
- Reading The graphics.py Documentation — Hands-on Python: Complete Video Course & Book
- Animation: Moving One Shape — Hands-on Python: Complete Video Course & Book