Logo
Explore Help
Register Sign In
gauthiier/objects-and-simulations
1
0
Fork 0
You've already forked objects-and-simulations
Code Issues Pull Requests Releases Wiki Activity
objects-and-simulations/affine.md
gauthiier 813a6139be HAHA! commit
2015-03-02 08:56:44 +01:00

858 B
Raw Blame History

layout title
math Environment

Affine Transforms & Vector Math

Matrix multiplication
$ a, b, c], [d, e, f], [g, h, i x], [y], [z = ax + by + cz], [dx + ey + fz], [gx + hy + iz $

Translation
$ 1, 0, tx], [0, 1, ty], [0, 0, 1 x], [y], [1 = dot x], [dot y], [1 $

Scaling
$ sx, 0, 0], [0, sy, 0], [0, 0, 1 x], [y], [1 = dot x], [dot y], [1 $

Rotation theta
$ cos theta, -sin theta, 0], [sin theta, cos theta, 0], [0, 0, 1 x], [y], [1 = dot x], [dot y], [1 $

Shearing
$ 1, shx, 0], [shy, 1, 0], [0, 0, 1 x], [y], [1 = dot x], [dot y], [1 $

Affine Transform (Translation + Scaling + Rotation + Shearing)
$ sx * cos theta, -sin theta * shx, tx], [sin theta * shy, sy * cos theta, ty], [0, 0, 1 x], [y], [1 = dot x], [dot y], [1 $

Powered by Gitea Version: 1.23.5 Page: 131ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API