-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
51 lines (51 loc) · 2.06 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>The TURTLE interpreter</title>
<link rel="stylesheet" type="text/css" href="res/style000.css">
<script type="text/javascript" src="src/excanvas.js"></script>
<script type="text/javascript" src="src/rturtle0.js"></script>
<script type="text/javascript" src="res/init.js"></script>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
</head>
<body>
<h1>The TURTLE interpreter</h1>
<div id="sidebar">
<h2 id="comref_shrink">命令一覧(クリックで表示)</h2>
<table id="comref" summary="コマンドリファレンス">
<tr><th>SetSize</th><td><i>width height</i></td></tr>
<tr><th>MoveTo</th><td><i>x y</i></td></tr>
<tr><th>Move</th><td><i>x y</i></td></tr>
<tr><th>Center</th><td></td></tr>
<tr><th>Forward</th><td><i>duration</i></td></tr>
<tr><th>Turn</th><td><i>degree</i></td></tr>
<!--<tr><th>Set</th><td><i>name value</td></tr>-->
<tr><th>Repeat</th><td><i>num</i> [block]</td></tr>
</table>
<form action="" id="console">
<h2>ソースコード:</h2>
<select name="samples" tabindex="3">
<option>例:</option>
</select><br>
<textarea name="source" rows="15" cols="40" tabindex="4"></textarea><br>
<input type="button" name="start" value="実行" tabindex="1">
<input type="button" name="imagenize" value="画像をダウンロード" tabindex="2"><br>
アニメーション速度 <select name="interval">
<option value="400">ちょうはやい</option>
<option value="100">とてもはやい</option>
<option value="30">はやい</option>
<option value="10" selected>ふつう</option>
<option value="5">ゆっくり</option>
<option value="1">とてもゆっくり</option>
<option value="1/5">ちょうゆっくり</option>
</select>
</form>
</div>
<div id="canvasarea">
<h2>キャンバス:</h2>
<div id="canvas"><canvas width="350" height="350"></canvas><div class="pointer"></div></div>
</div>
<p id="footer">2010 (C) ものづくり寺子屋</p>
</body>
</html>