Sub topic 1
The Rule of Thirds and Simple Grids for Composition
Prerequisites
Assume you know what an image frame, width, height, and aspect ratio are. You should also be able to display a grid in a camera or design tool. The code example assumes basic Python.
What composition is and why a frame needs structure
Composition is the arrangement of visual elements inside a frame. The frame limits what the viewer can see, so every subject, gap, edge, and line affects attention.
A structured composition gives the viewer a path through the image. Without structure, subjects may compete, empty areas may feel accidental, or important details may sit too close to an edge. Structure does not mean every image must look formal. It gives you a starting point for making deliberate choices.
Focal points and visual weight
A focal point is the area that attracts attention first. Visual weight is the amount of attention an element demands. Size, contrast, brightness, color, sharpness, and isolation can all increase visual weight.
For example, a small bright object can outweigh a large, muted background. Balance the focal point with the surrounding space. A heavy subject near one edge may need open space or a secondary element to keep the frame from feeling unstable.
The rule of thirds explained
The rule of thirds divides the frame into nine equal rectangles using two equally spaced vertical lines and two horizontal lines. The four intersections are natural candidate locations for a focal point because they avoid both the rigid center and the crowded edges.
Place a subject on a line when its shape or direction follows that line. Place a key detail near an intersection when you want it to dominate. The grid works for photographs, illustrations, video frames, posters, and interface layouts.
Drawing the grid: four lines, four intersections
For a frame with width w and height h, draw vertical lines at w/3 and 2w/3. Draw horizontal lines at h/3 and 2h/3.
def thirds_grid(width, height):
xs = [width / 3, 2 * width / 3]
ys = [height / 3, 2 * height / 3]
intersections = [(x, y) for x in xs for y in ys]
return xs, ys, intersections
xs, ys, points = thirds_grid(1920, 1080)
print(points)This produces intersections at (640, 360), (640, 720), (1280, 360), and (1280, 720). Coordinates begin at the frame's upper-left corner.
Exercise
Where are the vertical thirds lines in a 1200-pixel-wide frame?
Show answer
At 400 pixels and 800 pixels from the left edge.