ternaro.html 1.05 KB
Newer Older
1 2 3 4
<HTML>
<HEAD><TITLE>TERNARO PLAYGROUND</TITLE>
<META HTTP-EQUIV="Content-Language" content="en">
<META HTTP-EQUIV="Content-Type" content="text/html; charset=utf-8">
5
<SCRIPT type="text/javascript" src="Rgrid.js"></SCRIPT>
6 7 8 9 10
<SCRIPT type="text/javascript" src="robot.js"></SCRIPT>
<SCRIPT type="text/javascript" src="ternaro.js"></SCRIPT>
</HEAD>
<BODY BGCOLOR=#000000 TEXT=#00AA00 LINK=#00AAAA>
<center>
11
<h3>TERNARO PLAYGROUND v1.0</h3>
12 13 14
</center>
<p id="tut" align=center>TERNARO.COM requires a modern web-browser to work properly...</p>
<font size=-4>
15 16
<p id="pow" align=center>Powered...</p>
<p align=center>
17 18
Click <a href="https://hackaday.io/project/159905-ternaro">here</a> for more info about TERNARO FPGA
</p>
19
</font>
20 21
</BODY>
<script type="text/javascript">
22

23 24 25 26 27
var dx=90;
var dy=45;
$R.files = library;
$R.prefix = "www/pcb/";

28
$_("pow","Powered by " + $R.powered());
29

30
function action(x,y) {
31 32 33
 $R.event(0,-1,1,x,y);
}

34 35
if($R.grid('tut',dx,dy,action)>0) {
 var i,j;
36 37
 for(j=0;j<dy;j++){
 for(i=0;i<dx;i++){
38
   $R.set(i,j,32);
39 40
 }}
 $R.add(robot);
41
 $R.start();
42 43 44 45
}

</script>
</HTML>