Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. C/C++
  3. Klein

Klein

MITC++v2.2.1

A specialized SIMD Geometric Algebra library for high-performance 3D projective geometry operations.

Visit WebsiteGitHubGitHub
797 stars57 forks0 contributors

What is Klein?

Klein is a specialized SIMD Geometric Algebra library implementing 3D Projective Geometric Algebra (P(R*_{3, 0, 1})) for high-performance geometric computations. It solves the problem of performing fast geometric operations like projections, rotations, and intersections on points, lines, and planes by leveraging SSE SIMD instructions for maximum throughput.

Target Audience

Developers working on animation libraries, kinematic solvers, and other applications requiring high-throughput 3D geometric computations, particularly those already using or considering geometric algebra approaches.

Value Proposition

Developers choose Klein for its specialized high-performance implementation using SSE SIMD, unified algebra that streamlines quaternions and dual-quaternions, and efficient geometric operations optimized for throughput in 3D projective geometry.

Overview

P(R*_{3, 0, 1}) specialized SIMD Geometric Algebra Library

Use Cases

Best For

  • High-performance animation libraries requiring fast geometric operations
  • Kinematic solvers needing efficient rigid body transforms
  • Applications requiring smooth interpolation of 3D transformations
  • Projects using geometric algebra for 3D projective geometry
  • Systems needing unified handling of quaternions and dual-quaternions
  • Performance-critical 3D geometry computations with SSE optimization

Not Ideal For

  • Applications running on ARM or other non-x86 architectures without SSE support
  • Projects requiring geometric algebra for dimensions or metrics beyond 3D projective space
  • Teams needing actively maintained libraries with ongoing updates and community support

Pros & Cons

Pros

High-Performance SIMD

Leverages SSE SIMD instructions for maximum throughput in geometric operations, as optimized in the data layout to minimize shuffling and cross-lane arithmetic.

Unified Algebraic Framework

Combines quaternions and dual-quaternions into a single algebra (P(R*_{3, 0, 1})), streamlining operations and reducing code complexity for 3D projective geometry.

Efficient Geometric Operations

Supports a wide range of operations like projecting, measuring distances, rotating, and intersecting points, lines, and planes with an optimized implementation.

Smooth Interpolation Support

Enables smooth rigid body transforms and interpolation using motors, making it ideal for animation libraries and kinematic solvers as highlighted in the features.

Cons

Specialized to 3D Projective GA

Sacrifices generalization of metric or dimensionality, as admitted in the README, making it unsuitable for applications requiring 4D or other geometric algebras.

Archived Maintenance Status

The project is temporarily archived with no active maintenance, posing risks for bug fixes, updates, and long-term support in production environments.

Limited Portability

Requires SSE3 or later support, restricting use to x86 architectures and excluding platforms like ARM, mobile devices, or embedded systems.

Frequently Asked Questions

Quick Stats

Stars797
Forks57
Contributors0
Open Issues5
Last commit1 year ago
CreatedSince 2020

Tags

#high-performance#animation#simd#3d-graphics#c-plus-plus#sse#kinematics#algebra#3d#inverse-kinematics#3d-geometry

Built With

S
SSE
C
CMake
C
C++

Links & Resources

Website

Included in

C/C++70.6k
Auto-fetched 7 hours ago

Related Projects

DLIBDLIB

A toolkit for making real world machine learning and data analysis applications in C++

Stars14,372
Forks3,454
Last commit7 days ago
OpenGL MathematicsOpenGL Mathematics

OpenGL Mathematics (GLM)

Stars10,923
Forks2,375
Last commit26 days ago
OpenBLASOpenBLAS

OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version.

Stars7,417
Forks1,671
Last commit15 hours ago
QuantLibQuantLib

The QuantLib C++ library

Stars7,092
Forks2,193
Last commit3 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub