Team:ETH Zurich/Templates/Test3
From 2013.igem.org
Line 83: | Line 83: | ||
</div> | </div> | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
+ | (function($) { | ||
+ | function img(url) { | ||
+ | var i = new Image; | ||
+ | i.src = url; | ||
+ | return i; | ||
+ | } | ||
+ | |||
+ | if ('naturalWidth' in (new Image)) { | ||
+ | $.fn.naturalWidth = function() { return this[0].naturalWidth; }; | ||
+ | $.fn.naturalHeight = function() { return this[0].naturalHeight; }; | ||
+ | return; | ||
+ | } | ||
+ | $.fn.naturalWidth = function() { return img(this.src).width; }; | ||
+ | $.fn.naturalHeight = function() { return img(this.src).height; }; | ||
+ | })(jQuery); | ||
+ | |||
+ | |||
function onWindowResize() | function onWindowResize() | ||
Line 106: | Line 123: | ||
function resize() { | function resize() { | ||
- | var | + | var container = $('#bxslider > li'); |
- | var imgWidth = | + | var imgWidth = container.width(); |
- | + | ||
- | + | $( "#imagemap, #imagemap2" ).each(function() { | |
+ | $(this).css('height', 'auto', 'width', 'auto'); | ||
+ | $(this).mapster('resize',Math.min(imgWidth, $(this).naturalWidth()) ,0,0); | ||
+ | }); | ||
+ | |||
} | } | ||
Revision as of 15:06, 26 September 2013
Colisweeper is an interactive, biological version of the Minesweeper computer game, based on luxI/luxR quorum sensing and chromogenic enzymatic reactions. The goal is to clear an agar “minefield” without detonating mines.
Genetically engineered Escherichia coli colonies are used as sender-cells (mines) and receiver-cells (non-mines). Mines secrete the signaling molecule N-(3-oxohexanoyl)-l-homoserine lactone (OHHL) whereas non-mines process the signal. To distinguish between OHHL-levels, a library of PLuxR promoters with various sensitivities was created through site-saturation mutagenesis. High-pass filters were constructed to control the expression of different orthogonal hydrolases in non-mines, depending on the number of surrounding mines.
Additionally, the mines express their own hydrolase.A spatiotemporal reaction-diffusion model was established to evaluate and improve the system. To play Colisweeper, a colorless substrate solution is pipetted onto a colony of choice. The result is a defined color change within minutes, allowing identification of the played colony and the number of mines surrounding it.