Interactive Demos of Error Detection Magic Tricks (

This page links to interactive demos of various error detection magic tricks described in:

Ronald I. Greenberg and Dale F. Reed. Using magic in computing education and outreach. In Proceedings of the 2018 IEEE Frontiers in Education Conference (FIE), pages 1–4, October 2018. San Jose, CA.
The full HTML/JavaScript implementation for all versions of the magic trick can be viewed in a web browser by looking at the page source; in addition one may view this compact PDF listing. Another place to find everything together is in this Loyola eCommons entry: (Despite adding illuminations of how the tricks are performed, this implementation has been made more compact than the more basic implementation of a platform for performing the magic tricks at

The demos for the special session will include unilluminated versions to give the audience a chance to work on finding the secret as well as illuminated versions at large scale. The links below are actually all to the same base URL (given above as the implementation source), but one may append query strings such as "?v=2a", "?v=2b&n=16", "?v=3&illum=1", "?v=5&d=4&illum=1", etc., to select different versions, include illuminations, or change the size of the grid. The value of n, indicating an n-by-n grid can be adjusted in versions 1, 2a, and 2b (with defaults 6, 8, and 10, respectively). The value of d (default 3) can be adjusted in version 5, with the value of n being computed as 2^d. The demos anticipated to be used in the special session are: