Interactive Dartboard

The "interactive dartboard" presents a clickable dartboard to the user. The package is intended to illustrate some programming techniques for writing graphical user interfaces: drawing calculated polygons, using Igor's coordinate systems, using "package" data folders, providing visual and sound feedback in response to user clicks by dint of a hook function.

The package is very small, actually only a single procedure file. I wrote it mainly to test my CodeSnippet "DrawArcWedge". Maybe some of you find it useful. The code is extensively commented and a SubMenu item is added to the "Macros" menu.

This package was only tested with IP6.03 on Windows.

Images:

Project Details

Current Project Release

Interactive Dartboard IGOR.6.03.x-1.0-1

Release File: DrawDartBoard_2.ipf (13.8 KB)
Version: IGOR.6.03.x-1.0-1
Version Date:
Version Major: 1
Version Extra: 1
Version Patch Level: 0
OS Compatibility: Mac-Intel Windows
Release Notes: patched bad conditional compilation condition to
#if NumberByKey("IGORVERS", IgorInfo(0)) < 6.1
DoUpdate // general update (prior to IP6.1)
#else
DoUpdate /W=$DBwin // update this graph only (/W flag is new in IP6.1)
#endif
View All Releases

Forum

Support

Gallery

Igor Pro 9

Learn More

Igor XOP Toolkit

Learn More

Igor NIDAQ Tools MX

Learn More