Computers use math to draw shapes.
Computers can draw using math. 
Computers can draw images in different ways. One way is called vector graphics.
Instead of using tiny dots, vector graphics use math. They use points, lines, and curves. The computer sees a shape as a set of points. These points are called vertices. For example, a square can be made by knowing its corners. The computer then draws the lines between them.
This method is very helpful for some jobs. Engineers and architects use it to make precise plans. It is also great for making fonts. Fonts are the shapes of letters we read. Because they use math, you can make them any size. A small letter can grow to fit a huge billboard. It will still look sharp and clear.
Some old video games used this style too. 
Vector graphics are different from raster graphics. Raster graphics are made of pixels, or tiny dots. If you make a raster image too big, it looks blurry. But a vector image stays crisp. You can change the color or thickness of lines easily. This makes it a great tool for graphic design.
Computers can create pictures in many different ways. One special way is called vector graphics.
This way of drawing works through a step-by-step mathematical process. The computer uses a set of important points called vertices. For example, a square can be defined just by knowing its corners. The software then fills in the lines and the space inside. You can also make more complex shapes like circles or spheres. Some shapes use special math called parametric curves to stay smooth. You can even add details like color, line weight, or dash patterns. 
People have used vector technology for a long time. In 1958, the US SAGE air defense system used vector displays. In 1963, a pioneer named Ivan Sutherland ran a program called Sketchpad. This program used a computer at the Massachusetts Institute of Technology. Later, many arcade games used vector monitors to show graphics. You might recognize games like Asteroids or Tempest. There was even a video game console called the Vectrex that used this style. 
Today, many different file formats store these mathematical shapes. Common types include SVG, PDF, and EPS. The SVG format is a standard for the World Wide Web. It is very useful because it does not depend on a screen's resolution. This means an SVG image will look the same on a tiny phone or a big monitor. Some special software, like CAD, uses its own private formats. These tools help engineers and architects build very accurate plans for buildings and machines.
Vector graphics are very different from the raster graphics we see in photos. Raster graphics use a grid of pixels, which are tiny dots of color. If you make a raster photo too large, it looks blurry or blocky. However, a vector image can grow to any size without losing quality. You could print a small logo on paper or a huge logo on a billboard. It will stay crisp and clear both times. This makes vector graphics the best choice for fonts and graphic design.
Vector graphics are a method of creating digital images using mathematical descriptions. Instead of using a grid of colored dots, these images are built from geometric shapes. These shapes include points, lines, curves, and polygons. They are placed on a Cartesian plane, which is a mathematical grid used to define positions. This system allows for extreme geometric precision.
The mechanism of vector graphics relies on coordinate geometry. The computer defines shapes as a set of points in a two- or three-dimensional system. These points are often called vertices. Because a shape contains infinite points, the software only stores a finite sample of these important vertices. For example, a square can be defined by its corner locations. The software then uses interpolation to draw the boundary lines and fill the interior space.
There are many different types of geometric primitives used in this model. The simplest is a single point. A line segment is defined by two end points. A polyline is a connected set of line segments. A polygon is a region of space defined by a boundary where the start and end points meet. More complex shapes use parametric curves. These include circular arcs, Bézier curves, and cubic splines. These mathematical instructions allow the computer to draw smooth, non-linear paths. 
History shows that vector technology has been used for decades. In 1958, the US SAGE air defense system utilized vector displays. In 1963, computer graphics pioneer Ivan Sutherland used the TX-2 at the Massachusetts Institute of Technology to run a program called Sketchpad. Later, vector graphics appeared in arcade games like Asteroids, Space Wars, and Tempest. There was even a dedicated video game console called the Vectrex. While specialized vector hardware like the pen plotter or vector CRT has mostly disappeared, the data models remain vital in modern software.
Today, vector graphics are stored in many different file formats. Common types include SVG, PDF, EPS, and AI. The Scalable Vector Graphics (SVG) format is the standard for the World Wide Web. SVG files are essentially printable text that describes paths and attributes. This makes them independent of a screen's resolution. This means an SVG will look sharp on both a tiny mobile phone and a large monitor. 
One of the most important concepts is the difference between vector and raster graphics. Raster graphics, like JPEGs or PNGs, use a grid of pixels. If you enlarge a raster image, it becomes blurry or pixelated. Vector graphics avoid this problem entirely. Because they are mathematical instructions, they can be resized without losing any quality. You could print a small logo on a business card or blow it up to the size of a billboard. It will remain perfectly crisp in both instances. This scalability is why fonts are stored as vector graphics.
Converting between these two types is a one-way street in many cases. Modern displays and printers are raster-based devices. This means vector data must be converted into a bitmap (a grid of pixels) to be seen. While it is easy to turn a vector file into a raster file, it is much harder to go the other way. When a vector image is converted to a raster, it loses its ability to scale without losing resolution. It also becomes much harder to edit individual parts of the image as separate objects.
🖼️ Images & Media (4)
More to explore
✨ What else?
Related topics you might enjoy
🔬 Go deeper
More advanced topics to explore
🪜 Step back
Simpler topics to build understanding
What is Nepedia?
A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.