Team:RHIT/Modeling2.html

From 2013.igem.org

(Difference between revisions)
Line 1: Line 1:
-
[[Link title]]<!-- start of the document -->
+
<!-- start of the document -->
<html>  
<html>  
Line 9: Line 9:
  <!-- The body of the webpage, where all visible stuff lies. -->
  <!-- The body of the webpage, where all visible stuff lies. -->
  <body>
  <body>
-
     <canvas id="mycanvas"></canvas>
+
     <canvas id="mycanvas"></canvas> qh
  </body>
  </body>
-
<script src="http://fablabo.net/mediawiki/extensions/processingjs/processing-1.3.6.min.js"</script>  
+
 
 +
 
 +
<!-- run all the javascript stuff -->
 +
<script src="http://fablabo.net/mediawiki/extensions/processingjs/processing-1.3.6.min.js"></script> <!-- Include the processing.js commands -->
 +
<script >
  var sketchProc=function(processingInstance){ with (processingInstance){
  var sketchProc=function(processingInstance){ with (processingInstance){
  size(600, 1050);  
  size(600, 1050);  
Line 22: Line 26:
  }
  }
};
};
-
</script>  
+
 
 +
    </script> <!-- The actual source code for your program -->
  <script type="application/javascript">
  <script type="application/javascript">
   var canvas = document.getElementById("mycanvas"); //get the canvas that processingjs will use
   var canvas = document.getElementById("mycanvas"); //get the canvas that processingjs will use

Revision as of 20:02, 27 September 2013

My Processing Program qh