Skip to content

Instantly share code, notes, and snippets.

View FarazzShaikh's full-sized avatar
👻

Faraz Shaikh FarazzShaikh

👻
View GitHub Profile
const scaleFactor = 1.5
const mat_transform = new DOMMatrix([
scaleFactor, 0, // Sx Qx
0, scaleFactor, // Qy Sy
0, 0, // Tx Ty
])
const mat_transform = new DOMMatrix([
1, 0, // Sx Qx
0, 1, // Qy Sy
0, 0, // Tx Ty
])