Dotty – Dot Product Calculator

Jul 2026

A tiny dot product calculator.

Dotty is a tiny C++ program for 3D vector math. The dot product tells you how much two arrows point the same way, and the demo uses a flashlight and a wall to show it.

Key ideas

  • A Vector3 type with length, normalize, and dot functions
  • A small reusable library, with a separate demo app
  • Built with CMake

Built with: C++17, CMake

Code: github.com/marlware/dotty