Coordinate
A coordinate is a numerical value or ordered set of values specifying 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 pointers, elements, canvas points, and animated objects for web UI calculations.
- How deep it goes
- Defines 2D and simulated depth coordinates, then works through viewport-to-element conversion and normalized click positions.
- Examples
- Uses canvas drawing, circular layouts, a gradient color picker, and a depth-based animated star field.
- What you can do after
- Apply it via JavaScript events and getBoundingClientRect() to calculate local pointer positions and normalized UI values.
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
- Locates sensors and assets for proximity searches and for placing readings on geolocated models.
- How deep it goes
- Works through local origins, matrix-based rotation and translation, library conversion, and 2D distance; notes when height may be needed.
- Examples
- Uses a rotated floor plan mapped to UTM coordinates, a PyProj conversion, and a home-sensor proximity search.
- What you can do after
- Build it from scratch with a rotation-and-translation matrix, or apply PyProj to convert UTM coordinates to WGS84.
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.
- 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.
- coordinate changeused by · A coordinate change transforms points or data from one coordinate system or reference frame into another while preserving the represented relationships.
- Math.cosused by · Math.cos is the JavaScript Math API method that returns the cosine of an angle expressed in radians.
- polar coordinatecontrasts with · A polar coordinate specifies a point in two-dimensional space by its distance from an origin and its angle relative to a reference direction.
- math.sinused by · Math.sin is a JavaScript Math method that returns the sine of an angle expressed in radians.
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.




