Team:ETH Zurich/project/overview/grid

From 2014.igem.org

(Difference between revisions)
Line 92: Line 92:
         '-webkit-box-shadow: 3px 3px 5px #535353; box-shadow: 3px 3px 5px #535353; -moz-border-radius: 6px 6px 6px 6px; -webkit-border-radius: 6px; ' +
         '-webkit-box-shadow: 3px 3px 5px #535353; box-shadow: 3px 3px 5px #535353; -moz-border-radius: 6px 6px 6px 6px; -webkit-border-radius: 6px; ' +
         'border-radius: 6px 6px 6px 6px; opacity: 1;"></div>',
         'border-radius: 6px 6px 6px 6px; opacity: 1;"></div>',
-
    onShowToolTip: function(e) {
+
        onMouseover: function(e) {
-
    e.toolTip.css({ left: '5px', top: '0px' });
+
            pageX = e.pageX;
-
    },
+
            pageY = e.pageY;
 +
        },
 +
        onShowToolTip: function(e) {
 +
            e.toolTip.css({ left: '5px', top: '0px' });
 +
        }
     areas: [
     areas: [

Revision as of 00:24, 11 October 2014

Every cell on the grid below computes an XOR of the two signals coming from above. XOR means that if only one of the two signals (red or blue) is coming, the cell should turn ON (and show green fluorescence), whereas if none or both signals are coming, the cell should stay OFF.



Pass the mouse on the different colonies to understand how they process the signals coming from the top and make the pattern appear.

Input