All Projects → STRd6 → matrix.js

STRd6 / matrix.js

Licence: other
Where Matrices become heroes together

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects
ruby
36898 projects - #4 most used programming language

Labels

Projects that are alternatives of or similar to matrix.js

rusty-rain
A cross platform matrix rain made with Rust.
Stars: ✭ 217 (+600%)
Mutual labels:  matrix
matrixgl
Yet another matrix library for WebGL
Stars: ✭ 25 (-19.35%)
Mutual labels:  matrix
SCNMathExtensions
Math extensions for SCNVector3, SCNQuaternion, SCNMatrix4
Stars: ✭ 32 (+3.23%)
Mutual labels:  matrix
Turbo-Transpose
Transpose: SIMD Integer+Floating Point Compression Filter
Stars: ✭ 50 (+61.29%)
Mutual labels:  matrix
mx-puppet-teams
Microsoft Teams puppeting bridge for Matrix
Stars: ✭ 30 (-3.23%)
Mutual labels:  matrix
tabula
A Go library for working with rows, columns, or matrix (deprecated, see https://github.com/shuLhan/share/tree/master/lib/tabula).
Stars: ✭ 11 (-64.52%)
Mutual labels:  matrix
Spoon
Spoon plugin for Craft CMS - Enhance your Matrix fields with groups, tabs and more!
Stars: ✭ 82 (+164.52%)
Mutual labels:  matrix
Matrix-EmailBridge
A bridge written in Golang to receive and write emails in matrix
Stars: ✭ 101 (+225.81%)
Mutual labels:  matrix
Transform
Base Monogame objects for managing relative transforms.
Stars: ✭ 19 (-38.71%)
Mutual labels:  matrix
signin-with-matrix
Federated sign-in component for your web app (using Matrix)
Stars: ✭ 207 (+567.74%)
Mutual labels:  matrix
linalg
Linear algebra library based on LAPACK
Stars: ✭ 42 (+35.48%)
Mutual labels:  matrix
MachineLearning
An easy neural network for Java!
Stars: ✭ 125 (+303.23%)
Mutual labels:  matrix
combining3Dmorphablemodels
Project Page of Combining 3D Morphable Models: A Large scale Face-and-Head Model - [CVPR 2019]
Stars: ✭ 80 (+158.06%)
Mutual labels:  matrix
matrix-appservice-mumble
Matrix <--> Murmur Bridge
Stars: ✭ 27 (-12.9%)
Mutual labels:  matrix
matrix-chart
Helm chart for deploying a Matrix homeserver stack
Stars: ✭ 83 (+167.74%)
Mutual labels:  matrix
frodo
practical quantum-secure key encapsulation from generic lattices
Stars: ✭ 17 (-45.16%)
Mutual labels:  matrix
matrix-sms-bridge
Matrix bridge, that allows you to bridge matrix rooms to SMS with one telephone number only.
Stars: ✭ 62 (+100%)
Mutual labels:  matrix
craft3-blockonomicon
Manage matrix fields on a per-block basis. Bundle presentation with blocks. Render entire matrices with a single line.
Stars: ✭ 32 (+3.23%)
Mutual labels:  matrix
abacus
📐 C# cross precision 3D maths library.
Stars: ✭ 35 (+12.9%)
Mutual labels:  matrix
ligh7hau5
A Matrix (https://matrix.org/docs/spec/) to Fediverse / ActivityPub client / bridge. Also, some media proxying.
Stars: ✭ 26 (-16.13%)
Mutual labels:  matrix

Matrix.js 1.2.0

Matrix.js Documentation

Unit Tests

Guided Demo

Using with HTML5 Canvas

You'll probably want this (transformation is a Matrix instance):

function withTransformation(transformation, block) {
  context.save();

  context.transform(
    transformation.a,
    transformation.b,
    transformation.c,
    transformation.d,
    transformation.tx,
    transformation.ty
  );

  try {
    block();
  } finally {
    context.restore();
  }
}

Changelog

v1.2.0

Added a bunch of utility methods to Points.

subtract, scale, equal, and magnitude.

v1.1.0

Instance method transforamtions (scale, rotate, and translate) are now consistent with concatenation order.

var m1 = Matrix().translate(tx, ty).scale(s).rotate(theta);
var m2 = Matrix().concat(Matrix.translation(tx, ty)).concat(Matrix.scale(s)).concat(Matrix.rotation(theta));

matrixEqual(m1, m2);

This means that if you were using a version prior to 1.1.0 the order of concatenation has changed.

Added an optional aboutPoint parameter to the scale instance and class methods.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].