Macros and Transformations

Macros not only help with constructions that would be impossible otherwise, they also introduce a kind of subroutines. Macros have parameters and targets just like functions in a programming language. Macros are easily generated in C.a.R. with a sample construction.

Some macros are predefined in the C.a.R. application and others may be loaded and saved with each construction. This works also in web applets, of course.

C.a.R. uses macros for mappings like translation and rotation. Thus the user gets a flexible and extendible way to treat geometric transformations. He can easily define his own macros and fit them to a specific situation. The power of macros is demonstrated with the implementation of a whole different geometry, the Poincaré geometry. In C.a.R., macros can also included expressions, functions and computed transformations.