Difference between revisions of "Team:NEU China B"

Line 40: Line 40:
 
var t5 = 0;
 
var t5 = 0;
 
var base_t5 = base_t4 + during;
 
var base_t5 = base_t4 + during;
 +
 +
function redraw() {
 +
ctx.clearRect(0, 0, width, height);
 +
 +
var i = 0;
 +
ctx.beginPath();
 +
var x = 200 * Math.cos(0 * 180 * 2) + basex;
 +
var y = 100 * Math.sin(0 * 180 * 4) + basey;
 +
ctx.moveTo(x, y);
 +
for (i = 0; i < 0.05; i += 0.00001) {
 +
var x = 200 * Math.cos(i * 180 * 2) + basex;
 +
var y = 100 * Math.sin(i * 180 * 4) + basey;
 +
ctx.lineTo(x, y);
 +
}
 +
ctx.stroke();
 +
ctx.closePath();
 +
 +
}
  
 
function draw(x, y, r) {
 
function draw(x, y, r) {
Line 83: Line 101:
 
console.log("finish");
 
console.log("finish");
 
var timer = setInterval(function () {
 
var timer = setInterval(function () {
ctx.clearRect(0, 0, width, height);
+
redraw();
 
+
 
i += 0.00001;
 
i += 0.00001;
  
Line 139: Line 156:
 
rect.x2 = drawWidth + rect.x;
 
rect.x2 = drawWidth + rect.x;
 
rect.y2 = drawHeight + rect.y;
 
rect.y2 = drawHeight + rect.y;
if(rect.x < x)
+
if (rect.x < x)
if(rect.x2 > x)
+
if (rect.x2 > x)
if(rect.y < y)
+
if (rect.y < y)
if(rect.y2 > y)
+
if (rect.y2 > y)
 
return true;
 
return true;
 
return false;
 
return false;
Line 174: Line 191:
  
 
</script>
 
</script>
 +
 
<hr>
 
<hr>
 
<div class="text-center">
 
<div class="text-center">

Revision as of 14:10, 16 October 2018

Ruby - Responsive Corporate Tempalte

您的浏览器不支持 HTML5 canvas 标签。

Abstract

The role of L-lactate is not always beneficial for the yogurt fermentation due to excessive L-lactate can provide an optimized growth condition for yeast and mold. Therefore, it is important to detect the concentration of L-lactate. Acid-base titration is a common method for it, but this method is complicated and time-consuming. In order to monitor L-lactate quickly and conveniently, we designed a biosensor for detecting L-lactate concentration by using the lldPRD L-lactate operon and QS system in E. coli. One of these parts is able to induce the lldPRD genes expression, LuxS protein, in the presence of L-lactate. LuxS protein catalyzes the SAM cycle and produces a small signaling molecule AI-2 that motivates our second part promoter of LsrA&K to promote GFP expression. The optic fiber is able to detect the GFP signal and convert it into current. Simultaneously, the entire device container will be made by 3D printing.