Introduction to Graphics

Now that you can create loops, it is time to move on to learning how to create graphics. This chapter covers:

Computer Coordinate Systems

Video: The coordinate system for computer graphics

The Cartesian coordinate system, shown in Figure fig.Cartesian_coordinates_2D (Wikimedia Commons), is the system most people are used to when plotting graphics. This is the system taught in school. The computer uses a similar, but somewhat different, coordinate system. Understanding why it is different requires a quick bit of computer history.
Fatal error: Uncaught ArgumentCountError: Too few arguments to function figure(), 4 passed in /var/www/datas/dossiers_personnels/sebastien/Projets/Projets Python/programarcadegames.com/traduction/06_intro_to_graphics.php on line 27 and exactly 5 expected in /var/www/datas/dossiers_personnels/sebastien/Projets/Projets Python/programarcadegames.com/traduction/header_test.php:113 Stack trace: #0 /var/www/datas/dossiers_personnels/sebastien/Projets/Projets Python/programarcadegames.com/traduction/06_intro_to_graphics.php(27): figure('fig.Cartesian_c...', 'chapters/05_int...', 'Cartesian coord...', 70) #1 {main} thrown in /var/www/datas/dossiers_personnels/sebastien/Projets/Projets Python/programarcadegames.com/traduction/header_test.php on line 113