Coordinate
A coordinate is a numerical value or ordered tuple of values that specifies a position relative to a coordinate system.
Advanced Algorithms and Data Structures
A coordinate is a numerical component that specifies a point's position along one dimension of a coordinate system.
- How it is used
- Uses coordinates to partition multidimensional points for k-d tree indexing and nearest-neighbor search.
- How deep it goes
- Defines comparable coordinate tuples and develops level-dependent comparisons, including their effect on finding minima during deletion.
- Examples
- Illustrates x-only partition failures, alternating vertical and horizontal splits, and coordinate-specific minimum searches.
- What you can do after
- Build it from scratch by selecting the split coordinate at each k-d tree level and recognizing why deletion needs coordinate-specific minima.
Read how Advanced Algorithms and Data Structures explains coordinate →
Math for Web Design
A numerical value or set of values that specifies a point's position relative to a coordinate system's origin.
- How it is used
- Locates pointer events and elements for drawing, positioning, and interactive UI calculations.
- How deep it goes
- Defines axes and origins, then works through viewport-to-element subtraction and normalized click positions.
- Examples
- Uses viewport mouse positions, a clickable color picker, canvas line endpoints, and circular placement formulas.
- What you can do after
- Build it from scratch: convert viewport clicks to local percentages and map them to color-picker hue and lightness.
How Computers Make Books
A coordinate is a numerical value that identifies a position relative to a specified reference system.
- How it is used
- Locates ink, pixels, lines, and page contents relative to a chosen origin.
- How deep it goes
- Defines Cartesian pairs, origins, units, and endpoint-based line and shape construction, while deferring curved letterforms.
- Examples
- Uses a plotted (6, 2) point, an A4 page heading, a line from (1, 1) to (6, 3), and a coordinate-drawn house.
- What you can do after
- Practice/perform coordinate plotting, line definition, and pixel selection on 20 × 20 grids.
Digital Twins in Action
A 2D coordinate is an ordered pair of values specifying a position in a two-dimensional coordinate space.
- How it is used
- Uses coordinates to locate sensors, combine spatial representations, and support proximity reasoning in digital twins.
- How deep it goes
- Explains local origins, Euclidean proximity searches, and rotation-and-translation transformations, with matrix and library implementations.
- Examples
- Uses a home sensor proximity search and a rotated floor plan placed in UTM Zone 36S.
- What you can do after
- Apply coordinates to proximity searches and transform positions using matrices or PyProj.
Get Programming: Learn to code with Python
A coordinate is a numerical value specifying a position along an axis in a coordinate system.
- How it is used
- Uses coordinates to place and move rectangular player pieces on a Tkinter canvas.
- How deep it goes
- Explains corner coordinates, random initialization, and directional updates, without developing broader coordinate-system theory.
- Examples
- Demonstrates randomly positioned player squares and moves them with keyboard-controlled directional commands.
- What you can do after
- Build it from scratch by representing canvas rectangles with corner coordinates and updating their positions.
Read how Get Programming: Learn to code with Python explains coordinate →
Related concepts
- polygon()used by · The CSS polygon() basic-shape function defines a closed clipping or wrapping shape from a sequence of points.
- coordinate changeused by · A coordinate change transforms points or data from one coordinate system or reference frame into another while preserving the represented relationships.
- hit testingused by · Hit testing is the process of determining whether a point or pointer location lies within a graphical object's boundaries or region.
- k-d treeconfigured by · A k-d tree is a binary space-partitioning tree that organizes points in multidimensional space by recursively comparing coordinate dimensions.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.




