# How Is Geometry Used In Computer Graphics

Geometry is used to automatically generate graphics.

Geometry is central to the development of computer graphics software. Scientists and computer programmers study fractal geometry, descriptive geometry and linear perspective, that is 3D geometry, to develop mathematically draw objects instead of drawing them with a mouse or pen and pencil.

## Two-Dimensional Coordinate Geometry

Two-dimensional coordinate geometry, the use of algebraic equations to represent two-dimensional geometric shapes such as lines and polygons, is the basis for the design of computer graphic software. Popular illustrations programs let graphic designers quickly create two-dimensional geometric figures through simple point and click operations. The computer code that generates the two-dimensional object on the screen is based on coordinate geometry formulas, such as the distance and midpoint formulas.

## Three-Dimensional Coordinate Geometry

Three-dimensional coordinate geometry principles are also used in computer graphic programs. Many of the geometric formulas used in three-dimensional graphics computer programming are extensions of two-dimensional coordinate geometric formulas. For the rotation of a 3D geometric object in a computer graphic program, geometric point transformation procedures are used that rotate all the vertexes of the 3D object.

## Fractal Geometry

Fractal geometry is the study of automated drawing methods that are based on a specific geometric shape or set of specific geometric shapes. Often fractal methods involve the repeated inscription of a geometric shape within a geometric shape. One example, is when an equilateral triangle is inscribed within an equilateral triangle, repeatedly, such that each successively inscribed equilateral triangle is smaller than the previous. When computer code is written to perform this procedure, successively smaller equilateral triangles can be continually constructed without end and without human intervention.