Cindy Script...


…is an easy to learn yet still very powerful functional language. It is designed to allow high-level interaction with geometric constructions or physical simulations created in Cinderella.2. Nevertheless, it can also be used as a standalone language for performing mathematical calculations.

There are three ways to use the CindyScript language within Cinderella.2. One can write CindyScript expressions as parts of functions in a Cinderella construction. One can type CindyScript commands in a command shell to, e.g., immediately set properties such as colors and sizes of geometric elements.
However, the most common way to use CindyScript is to write programs in the script editor. Here, one can specify the occasion on which the program will be executed. For instance, it can be executed after every move of the construction. Another possibility is to execute the program on any mouse click. In this way, one can easily add functional behavior and graphical enhancements to an existing construction.

Reference









Page last modified on Monday 29 of May, 2006 [13:26:33 UTC].
The original document is available at http://doc.cinderella.de/tiki-index.php?page=CindyScript