Graph


This sample demonstrates how to graph out simple trigonometric functions using WOC's animation templates. A Domain controls the animation in the x direction and is also routed into a functional relay which controls the animation in the y direction. Not only are the lights animated in this way but, on initialisation, the same animation object is 'frozen' into a model of dots (the cos- and tan- shaped white dots in the screenshots below).

For this sample you will need to download the WOC header and implementation files. I recommend that you unzip them into a folder named woc and locate it at the same level as (i.e. a sibling of) the project folders which use it. This is because the projects look for the WOC files at the path: ..\woc\.
 Download the WocGraph project files (7KB) in compressed ZIP format.
WocGraph screenshot
WinZip® brings the convenience of Windows to the use of Zip files and other compression formats. If you don't have "the most celebrated shareware app in the history of computing" already, use the above link to download it.
WocGraph screenshot
last updated: 5-oct-01