This mathlet can display the Venn diagram of any of the 16 sets that can be constructed from two given sets using the basic set operations of union, intersection and complement. The set to be displayed can be selected from the list of radio buttons on the left, or can be constructed by clicking variously on the disjoint regions in the Venn diagram on the right. A screen shot is shown below; click on the graphic to view the live applet and for a more detailed mathematical description.
The file VennGame.zip contains all source files and resource files for this object. Download and extract this file and then open the file VennGame.xhtml with your browser.
The VennGame mathlet works by JavaScript. The text area below shows the source code for the file VennGame.xhtml, so that you can browse the JavaScript. Of course, this file is part of VennGame.zip, which also includes the images and other files necessary for the mathlet to work..