mumu 0.11.1

Lava Mumu is a language for those in the now and that know
Documentation
extend("matrix")

# 1. Rotation matrix (cos=0.5736, sin=0.8192)
R = [
  [0.5736, -0.8192],
  [0.8192,  0.5736]
]

# 2. Vertices as columns
triangle = [
  [1, 4, 1],   // x coordinates
  [1, 1, 5]    // y coordinates
]

# 3. Matrix multiplication
rotated = matrix:multiply(R, triangle)

# 4. Print
slog(rotated)