Skip to content
K

Kotlin Math

Set of Kotlin APIs to make graphics math easier to write

by romainguyFree

#293in Education
0In stores

Description

kotlin-math is a set of Kotlin APIs that make graphics math easier to write. The APIs are modelled after GLSL, the OpenGL Shading Language,…

Highlights

  • GLSL-style vector, matrix and quaternion types
  • Top-level functions instead of methods
  • Half-precision and boolean vector types
  • Component aliases and swizzling
  • Maven install and a single build command

Ratings & Reviews

No ratings yet

Be the first to rate Kotlin Math.

People also visit

C

Cglm

Highly Optimized 2D / 3D Graphics Math (glm) for C

Education
Launch
R

RTM

Realtime Math

Education
Launch
K

KaTeX

Fast math typesetting for the web

Education
Launch
M

MathParser.org-mXparser

Math Parser: Java, C#, C++, Kotlin, Android, and all .NET platforms

Education
Launch
R

RaTeX

>99.5% KaTeX syntax coverage

Education
Launch
K

kotlin-specialist

Provides idiomatic Kotlin implementation patterns including coroutine

AI Skills
Get

Kotlin Math FAQ

What is kotlin-math?

A Kotlin library of graphics math APIs, modelled after GLSL, that makes vector and matrix code easier to write.

Who is it for?

Kotlin developers writing graphics, game or shader-related code who want maths that reads like GLSL.

What types does it include?

Float, half and boolean vectors with two to four components, 3x3 and 4x4 float matrices, quaternions and rays, plus Half and Rational scalars.

Are the types mutable?

The README says the types are meant to be value types, and most APIs are exposed as top-level functions.

How do I add it?

Use the Maven coordinates in the README, or build the jar from source with the command the README gives.

What are the best Kotlin Math alternatives?

Popular alternatives to Kotlin Math include Cglm, RTM and KaTeX. See all Kotlin Math alternatives

Developer Stuff

Badges