Skip to Content
Geometry for Programmers
book

Geometry for Programmers

by Oleksandr Kaleniuk
May 2023
Beginner to intermediate
440 pages
12h 55m
English
Manning Publications

Overview

Master the math behind CAD, game engines, GIS, and more! This hands-on book teaches you the geometry used to create simulations, 3D prints, and other models of the physical world.

In Geometry for Programmers you will learn how to:

  • Speak the language of applied geometry
  • Compose geometric transformations economically
  • Craft custom splines for efficient curves and surface generation
  • Pick and implement the right geometric transformations
  • Confidently use important algorithms that operate on triangle meshes, distance functions, and voxels

Geometry for Programmers guides you through the math behind graphics and modeling tools. It’s full of practical examples and clear explanations that make sense even if you don’t have a background in advanced math. You’ll learn how basic geometry can help you avoid code layering and repetition, and even how to drive down cloud hosting costs with more efficient runtimes. Cheerful language, charts, illustrations, equations, and Python code help make geometry instantly relevant to your daily work as a developer.

About the Technology
Geometry is at the heart of game engines, robotics, computer-aided design, GIS, and image processing. This book draws back what is for some a mathematical curtain, giving them insight and control over this central tool. You’ll quickly see how a little geometry can help you design realistic simulations, translate the physical world into code, and even reduce your cloud services bill by improving the efficiency of graphics-intensive applications.

About the Book
Geometry for Programmers is both practical and entertaining. Fun illustrations and engaging examples show you how to apply geometry to real programming problems, like changing a scan into a CAD model or developing 3D printing contours from a parametric function. And don’t worry if you aren’t a math expert. There’s no heavy theory, and you’ll learn how to offload most equations to the SymPy computer algebra system.

What's Inside
  • Speak the language of applied geometry
  • Compose geometric transformations economically
  • Craft custom splines for efficient curves and surface generation
  • Confidently use geometry algorithms


About the Reader
Examples are in Python, and all you need is high school–level math.

About the Author
Oleksandr Kaleniuk is the creator of Words and Buttons Online, a collection of interactive tutorials on math and programming.

Quotes
A one-of-a-kind book covering the practical applications of geometry in programming.
- Maxim Volgin, KLM

Have you ever wondered how game programmers, animators, and car manufacturers model visual reality? This book not only shows you how, it teaches you to understand and enhance the apps they use.
- Ranjit Sahai, RAM Consulting

An insightful tour of geometry using the powerful tool SymPy. You can get behind the scenes and apply these techniques to CAD and much more.
- James J. Byleckie, BH Enterprises

Approaches software development from a new angle!
- Chris Kardell, DEBS

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Math for Programmers

Math for Programmers

Paul Orland
Math for Programming

Math for Programming

Ronald T. Kneusel

Publisher Resources

ISBN: 9781633439603Publisher SupportPublisher WebsiteErrata Page