Line 424: | Line 424: | ||
var nowRadius = 0 | var nowRadius = 0 | ||
$(function() { | $(function() { | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
$({blurRadius: 0}).animate({blurRadius: 10}, { | $({blurRadius: 0}).animate({blurRadius: 10}, { | ||
duration: 20000, | duration: 20000, | ||
Line 451: | Line 440: | ||
var LOCSnum = Math.round(nowRadius*6/9); | var LOCSnum = Math.round(nowRadius*6/9); | ||
var NineLOCSnum = Math.round(nowRadius*6/9*10); | var NineLOCSnum = Math.round(nowRadius*6/9*10); | ||
− | + | if (NineLOCSnum > 20) switchMessage("YELLOW","<b> Oh no! </b> Cataracts are forming! Click on the Eyedrop Tab and get <b>TREATMENT</b> eyedrops!", currentColor()=="GREEN"); | |
if (NineLOCSnum == 55) $("#slideoutco").fadeOut(1000); | if (NineLOCSnum == 55) $("#slideoutco").fadeOut(1000); | ||
− | if (NineLOCSnum > 60) switchMessage("RED","Your cataracts are very severe. You need to get TREATMENT fast by clicking the Eyedrop Tab", currentColor()=="YELLOW"); | + | if (NineLOCSnum > 60) switchMessage("RED","Your cataracts are very severe. You need to get TREATMENT fast by clicking the Eyedrop Tab", currentColor()=="YELLOW"); |
if (LOCSnum > 6) {LOCSnum = "6+"; $('#LOCS').text(LOCSnum+"");} | if (LOCSnum > 6) {LOCSnum = "6+"; $('#LOCS').text(LOCSnum+"");} | ||
else $('#LOCS').text(LOCSnum+""); | else $('#LOCS').text(LOCSnum+""); | ||
− | if (LOCSnum ==0) document.getElementById('bluebutton').click(); | + | //if (LOCSnum ==0) document.getElementById('bluebutton').click(); |
} | } | ||
}); | }); | ||
Line 482: | Line 471: | ||
var LOCSnum = Math.round(nowRadius*6/9); | var LOCSnum = Math.round(nowRadius*6/9); | ||
var NineLOCSnum = Math.round(nowRadius*6/9*10); | var NineLOCSnum = Math.round(nowRadius*6/9*10); | ||
− | + | if (NineLOCSnum == 15) $("#slideoutco").fadeOut(400); | |
− | if (NineLOCSnum > 20) switchMessage("RED","<b>Cataracts</b> are | + | if (NineLOCSnum > 20) switchMessage("RED","<b>Cataracts</b> are creaping back again! Click the PREVENTION eyedrop to add GSR into your eyes!", currentColor()=="BLUE"); |
if (LOCSnum > 6) {LOCSnum = "6+"; $('#LOCS').text(LOCSnum+"");} | if (LOCSnum > 6) {LOCSnum = "6+"; $('#LOCS').text(LOCSnum+"");} | ||
else $('#LOCS').text(LOCSnum+" "); | else $('#LOCS').text(LOCSnum+" "); | ||
Line 510: | Line 499: | ||
var NineLOCSnum = Math.round(nowRadius*6/9*10); | var NineLOCSnum = Math.round(nowRadius*6/9*10); | ||
− | + | if (NineLOCSnum < 68){ if (NineLOCSnum > 10) if(currentColor()=="RED" || currentColor() == "BLUE") $("#slideoutco").fadeOut(0); switchMessage("YELLOW","<b> Treating</b> your cataract with <b>25HC Eyedrops </b>", currentColor()=="RED"); | |
} | } | ||
if (NineLOCSnum == 9) $("#slideoutco").fadeOut(0); | if (NineLOCSnum == 9) $("#slideoutco").fadeOut(0); | ||
Line 521: | Line 510: | ||
} | } | ||
else switchMessage("BLUE","Your eyes are crystal clear! To avoid waste, please turn off the <b>TREATMENT</b> eyedrop.", currentColor()=="YELLOW"); | else switchMessage("BLUE","Your eyes are crystal clear! To avoid waste, please turn off the <b>TREATMENT</b> eyedrop.", currentColor()=="YELLOW"); | ||
− | } | + | } |
if (LOCSnum > 6) LOCSnum = "6+"; | if (LOCSnum > 6) LOCSnum = "6+"; | ||
else LOCSnum = LOCSnum +" "; | else LOCSnum = LOCSnum +" "; | ||
Line 543: | Line 532: | ||
else {startBlur(12000);} | else {startBlur(12000);} | ||
} | } | ||
− | + | if (!$("#redbutton").hasClass("isOn")) | |
if ($("#bluebutton").hasClass("isOn")) | if ($("#bluebutton").hasClass("isOn")) | ||
{ | { | ||
$("#slideoutco").fadeOut(0); | $("#slideoutco").fadeOut(0); | ||
switchMessage("BLUE","Great! Furthur cataract formation is prevented with GSR Eyedrops. Now use <b>TREATMENT</b> eyedrops one last time.", currentColor()=="RED") | switchMessage("BLUE","Great! Furthur cataract formation is prevented with GSR Eyedrops. Now use <b>TREATMENT</b> eyedrops one last time.", currentColor()=="RED") | ||
− | } | + | } |
}; | }; | ||
Revision as of 04:20, 15 October 2016
Team
We are the Taipei American School iGEM team, Taiwan's first high school team. Our team consists of 14 dedicated members, 9 of whom will be attending the jamboree in MIT. This is our second year participating in the iGEM competition, and we look forward to continuing for years to come!
Members
Click and scroll down for descriptions
Christopher Yen
What got you interested in synthetic biology?
Dream career or lifegoal?
Click on each member to see their responses!
About Taipei American School
Taipei American School is a private independent school with an American-based curriculum located in Tianmu (T'ien-mu), Shilin District (Shih-lin), Taipei City. Most graduates of TAS go on to attend colleges and universities in United States, although some choose to attend schools in other countries. TAS strives to stay ahead of the curve in STEAM education. An important aspect of STEAM education is the 'E': Engineering. Our iGEM team represents the application of engineering beyond robotics.
About The Lab
We work in the Sandy R. Puckett Memorial Research Lab, which was completely renovated in 2013 to provide a research laboratory for on-campus student research in synthetic biology and nanotechnology. It is fully equipped with lab tools for research for the iGEM competition. The students have the opportunity to be creative and exploratory in many areas of scientific research at TAS.
Synthetic Biology
The fusion between biological research and engineering has culminated in the creation of synthetic biology. This interdisciplinary area was facilitated by the recent advances in technology, allowing humans to actually design and construct biological devices as if they were machinery. However, the advent of synthetic biology has raised concerns with biosafety and biosecurity, which is why iGEM places such importance on "safety".
×
The tutorial is disabled.
Turn off prevention eyedrops to activate the animation. For a full tutorial, click the question mark.