Geometry
Geometry is the mathematical study and representation of shapes, positions, dimensions, and spatial relationships in two or more dimensions.
Web Components in Action
3D is the representation and rendering of objects or scenes with three spatial dimensions.
- How it is used
- Uses 3D scenes to demonstrate interactive browser graphics and their encapsulation in Web Components.
- How deep it goes
- Works through declarative shapes and a rendered scene, but leaves the underlying geometry mathematics unexplained.
- Examples
- Shows an A-Frame scene of basic shapes and a Babylon.js color picker that switches meshes.
- What you can do after
- Build it from scratch as an interactive Babylon.js scene wrapped in a Web Component.
Build a Text-to-Image Generator (from Scratch)
The three-dimensional organization and shape of objects and their spatial arrangement in a scene.
- How it is used
- Diagnoses why text-to-image models fail to preserve spatial relationships across objects and viewpoints.
- How deep it goes
- Explains missing 3D representations, positional encodings, depth, perspective, and proposed remedies without implementing them.
- Examples
- Uses distorted objects, viewpoint changes, violated physical laws, and inconsistent depth or perspective as failure examples.
- What you can do after
- Evaluate/understand geometric failures in generated images and identify 3D-aware mechanisms that could improve spatial consistency.
Read how Build a Text-to-Image Generator (from Scratch) explains geometry →
Also covered in
- Geometry for Programmers
- Math for Web Design
- Deep Learning with PyTorch, Second Edition
- Digital Twins in Action
Related concepts
- image processingused by · Image processing is the computational manipulation or analysis of digital image data.
Questions about geometry
What is geometry?
Geometry is the mathematical study and representation of shapes, positions, dimensions, and spatial relationships in two or more dimensions.
Which Manning books explain geometry?
Web Components in Action and Build a Text-to-Image Generator (from Scratch).
What should I know before learning geometry?
Manning books that teach geometry usually introduce AR/VR first.
What kinds of geometry are there?
Kinds of geometry include analytic geometry and applied geometry.
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.

