WolframLang: Compose Transformations

By Xah Lee. Date: . Last updated: .

Composition of Transformations

Composition[a,b,c,etc]

🔸 SHORT SYNTAX: a @* b @* c @* etc

return a composition of functions.

the result of

Composition[a,b,c]

is

a[b[c]]

Example: Composition of Transformations

(* show the input and output of transform functions, and composition on them *)

Clear[ xRot, xMove, xF ];

xRot = RotationTransform[10 Degree ];

xMove = TranslationTransform[ {1,0} ];

xF = Composition[ RotationTransform[10 Degree ], TranslationTransform[ {1,0} ] ];

{xRot, xMove, xF}

xF[{a,b}]

xF[{1,0}]
wl compose transform 2024-06-05 4Mkj
wl compose transform 2024-06-05 4Mkj

WolframLang, Graphics Programing