Flash
ABSTRACT
The Flash animation function flashes a subset of a mesh-tree of a variable, essentially making the mesh's lines written, and then unwritten some small time later
PARAMETERS
value | the mesh-tree that houses the meshes to be highlighted |
value | the mesh-tree that houses the meshes to be highlighted |
tag_predicate(tag) | The predicate function that determines whether a mesh that is part of the provided mesh-tree should undergo the flashing effect as a result of this animation. |
time | Specifies the duration of the flashing effect in seconds. |
time | Specifies the duration of the flashing effect in seconds. |
lead(u) | given the normalized time, this function must specify a normalized time from 0 to 1 that dictates how far along the writing should be. lead(u) must be >= trail(u) for all u in 0 to 1 |
trail(u) | given the normalized time, this function must specify a normalized time from 0 to 1 that dictates how far along the unwriting should be. |
RETURN
Returns an animation that, when executed, flashes the specified subset of the variable's mesh-tree over the specified duration.
DECLARATION
func Flash([mesh_tree] {[full] {value}, [tag_pred] {value, tag_predicate(tag)}}, [config] {[main] {time}, [parameterized] {time, lead(u), trail(u)}})