Predefined Functions - trafoHistory
Description: This function returns which transformation formula has been chosen during previous iterations. Using this function you can retrieve the formula index and thus perform e.g. special coloring based on the sequence of applied transformations. The Thus trafoHistory(0) returns the formula which is chosen during the current iteration. trafoHistory(1) returns the formula from the previous iteration, etc. The returned values range from 1 to numTrafos. 1 means: The first formula, etc. A value of 0 means: Has not been initialized. Please note: The function stores only the previous 65536 values. |