What Is Computer Graphics? A Beginner's Definition
SkillVeris Team
Engineering Team

Computer graphics is the branch of computing that deals with generating, manipulating, and displaying images using computers and specialized hardware.
In this guide, you'll learn:
- It splits broadly into 2D graphics, used for interfaces and illustrations, and 3D graphics, used for modeling, animation, and simulation.
- Rendering is the process of converting a mathematical description of a scene into a final 2D image made of pixels.
- A GPU, or graphics processing unit, is specialized hardware built to perform the massive parallel math that rendering requires far faster than a general CPU.
- Rasterization and ray tracing are the two dominant rendering approaches, trading speed for physical realism differently.
1What Is Computer Graphics?
Computer graphics is the field of computer science concerned with creating, manipulating, and displaying visual content by computer. It covers everything from a simple line drawn on screen to a fully rendered, photorealistic 3D scene in a film.
At its core, it is the discipline of turning numerical data and mathematical descriptions of shapes, colors, and light into images a human can see and understand.
22D Graphics vs 3D Graphics
Computer graphics splits broadly into two categories based on the dimensionality of the content being represented.
2D graphics deal with flat images: icons, illustrations, charts, and user interfaces, described using coordinates on a plane. 3D graphics add depth, describing objects as collections of points, edges, and surfaces in three-dimensional space, which then must be projected onto a flat screen to be viewed.
3How an Image Gets Rendered
Rendering is the process that converts a scene description, made of shapes, materials, lights, and a camera position, into a final image composed of pixels.
This process involves determining which surfaces are visible from the camera's viewpoint, calculating how light interacts with each surface, and coloring each pixel accordingly. The result is what appears on screen.
Rasterization vs Ray Tracing
Rasterization converts shapes directly into pixels using fast geometric approximations, making it the standard for real-time applications like video games. Ray tracing instead simulates individual light rays bouncing through a scene, producing far more physically accurate reflections and shadows at a much higher computational cost.
4Core Building Blocks
A few concepts recur across almost every computer graphics system.
- Pixels: the individual colored dots that make up a digital image or screen.
- Vectors and polygons: mathematical shapes used to describe lines, curves, and 3D surfaces before they are rendered.
- Textures: images applied to a surface to give it detail without modeling every bump and pattern geometrically.
- Shaders: small programs that run on the GPU to calculate how each pixel or vertex should look.
5The Role of the GPU
A GPU, or graphics processing unit, is hardware purpose-built to perform the enormous number of parallel calculations that rendering requires, such as computing the color of millions of pixels many times per second.
Where a CPU excels at handling a few complex tasks in sequence, a GPU is designed to run the same simple calculation across thousands of data points simultaneously, which is exactly the pattern graphics rendering needs.
💡
6Real-World Applications
Computer graphics techniques show up far beyond entertainment.
- Video games and simulations, where scenes must render in real time at high frame rates.
- Film and animation, where scenes are rendered offline for maximum visual quality.
- Computer-aided design, used by engineers and architects to model physical products and buildings.
- Medical imaging, which visualizes scan data as navigable 3D models of the human body.
- User interface design, where every button, icon, and animation on a screen is a graphics rendering task.
7Computer Graphics in Programming
For programmers, working with computer graphics usually means using a graphics API such as OpenGL, Vulkan, DirectX, or a higher-level engine like Unity or Unreal that wraps those APIs into friendlier tools.
These APIs expose the underlying GPU pipeline, letting a developer describe geometry, materials, and lighting in code, while the graphics driver and hardware handle the actual pixel-by-pixel rendering work.
8Getting Started with Computer Graphics
Anyone starting out in computer graphics benefits from first understanding the fundamentals of how computers represent and process data, since graphics builds directly on top of that foundation.
From there, working through a structured study of computing fundamentals and gradually experimenting with a beginner-friendly graphics library is the most practical path into the field.
Get The Print Version
Download a PDF of this article for offline reading.
About the Publisher
SkillVeris Team
Engineering Team
Our engineering writers turn abstract code concepts into hands-on, project-driven learning experiences.
View all postsRelated Posts
Never miss an update
Get the latest tutorials and guides delivered to your inbox.
No spam. Unsubscribe anytime.