Line
A line is a contiguous sequence of text characters ending at a line boundary or the end of a text stream.
How Computers Make Books
A line is a continuous one-dimensional geometric or visual form extending between or through points.
- How it is used
- Builds page marks, shapes, and letter forms from coordinates and pixels.
- How deep it goes
- Works through endpoint definition and slope-based raster approximation, while deferring comprehensive drawing algorithms.
- Examples
- Uses endpoint pairs, shallow and steep grid lines, gray edge pixels, coordinate drawings, and letter C.
- What you can do after
- Practice/perform line approximation by selecting grid pixels and drawing coordinate-connected paths.
Tiny Python Projects: Learn coding and testing with puzzles and games
A line is a sequence of text characters ending at a line boundary or the end of a text stream.
- How it is used
- Processes files and standard input as sequences of lines for counting, lookup, searching, and text transformation.
- How deep it goes
- Explains line-by-line iteration, counting, inspection, and preservation, without descending into text-stream internals.
- Examples
- Uses wc-style counts, Gashlycrumb letter lookups, and Southern-style transformations of poetry lines.
- What you can do after
- Builds Python programs that read, count, search, index, and transform text one line at a time.
Read how Tiny Python Projects: Learn coding and testing with puzzles and games explains line →
Geometry for Programmers
A line is a straight one-dimensional geometric object extending without curvature.
- How it is used
- Deploys lines as coordinate-based primitives for applied geometry, programming, geometric modeling, and constant-speed trajectories.
- How deep it goes
- Explains explicit, implicit, canonical, and three-dimensional representations, then applies parametric lines to motion without deriving algorithms in code.
- Examples
- Uses y = 0.5x + 1, vertical lines x = c, plane intersections, and a game character following line-and-arc trajectories.
- What you can do after
- Apply explicit, implicit, canonical, and parametric line descriptions to 2D geometry, 3D intersections, and constant-speed motion.
Related concepts
- hyperplaneincludes · A hyperplane is a flat affine subspace with dimension one less than its ambient space, capable of dividing that space into regions.
- generatorproduced by · A generator is a language construct or computation that produces values incrementally on demand, typically suspending and resuming while preserving its state.
- trajectorypart of · A trajectory is an ordered sequence of states, actions, events, or operations that records or describes progression through successive steps or over time.
- coordinateproduced by · A coordinate is a numerical value or ordered set of values specifying a position relative to a coordinate system.
- planeproduced by · A plane is a flat two-dimensional geometric surface extending indefinitely in two independent directions.
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.


