1
1
< html >
2
2
< head >
3
- < meta http-equiv ="Content-Type " content ="text/html; charset=UTF-8 " />
4
- < link rel ="stylesheet " href ="style.css " type ="text/css ">
5
- < script src ="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js "> </ script >
6
- < script src ="js/appobject.js "> </ script >
7
- < script src ="js/pointobject.js "> </ script >
8
- < script src ="js/antsobject.js "> </ script >
9
- < script src ="js/main.js "> </ script >
3
+ < meta http-equiv ="Content-Type " content ="text/html; charset=UTF-8 "/>
4
+ < link rel ="stylesheet " href ="../common/style.css " type ="text/css ">
5
+ < script src ="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js "> </ script >
6
+ < script src ="js/appobject.js "> </ script >
7
+ < script src ="js/pointobject.js "> </ script >
8
+ < script src ="js/antsobject.js "> </ script >
9
+ < script src ="js/main.js "> </ script >
10
+ < script src ="https://www.tu-dresden.de/++resource++iframe_integration.js "> </ script >
11
+ < link href ="https://fonts.googleapis.com/css?family=Source+Sans+Pro " rel ="stylesheet ">
12
+ < link rel ="stylesheet " type ="text/css " href ="https://www.tu-dresden.de/++resource++iframe_integration.css "/>
10
13
</ head >
11
14
< body >
12
- < div id ="frame ">
13
- < h1 >
14
- Turingmaschine Ameise
15
- </ h1 >
16
- < div id ="lower ">
17
- < canvas id ="drawfield " width ="300 " height ="300 "> </ canvas >
18
- </ div >
19
- < div id ="upper ">
20
- < div id ="info ">
21
- < h1 > Hilfe zum Programm</ h1 >
22
- < div style ="font-style: italic; ">
23
- Tragen Sie auf der großen grauen Fläche mit der Maus Punkte ein (durch Klicken).< br >
24
- < br >
25
- Starten Sie anschließend die automatische Simulation oder simulieren Sie nur den nächsten Schritt
26
- indem Sie auf die jeweiligen Button klicken.< br >
27
- < br >
28
- Im Anschluss wird gemäß den folgenden Regeln der Automat durchgeführt:< br >
29
- < br >
30
- - Eine Ameise schaut zu Beginn in eine beliebige Richtung.< br >
31
- - Ist das Feld weiß: so färbt sie es schwarz und dreht sich um 90° nach rechts.< br >
32
- - Ist das Feld schwarz: so färbt sie es weiß und dreht sich um 90° nach links.< br >
33
- - Danach läuft sie ein Feld in die neue Blickrichtung.
34
- </ div >
35
-
36
- < h1 > Steuerung</ h1 >
37
- < div style ="">
38
- < button name ="resetRaster " style ="margin:0px; "> Zeichenfläche leeren</ button >
39
- </ div >
40
-
41
- < h1 > Simulationen</ h1 >
42
- < div style ="">
43
- < button name ="run "> Einen Schritt simulieren</ button >
44
- < div style ="overflow:hidden; ">
45
- < button name ="runAuto " style ="float:left; "> Auto-Simulation start/stop</ button >
46
- < div id ="indicator "> </ div >
47
- </ div >
48
- < div style ="overflow:hidden; margin:5px; ">
49
- < div style ="float:left; color:#6E6E6E; "> Bilder pro Sekunde:</ div >
50
- < div style ="float:left; color:#6E6E6E; margin-left:5px; " id ="fps "> 10</ div >
51
- </ div >
52
- < div style ="overflow:hidden; margin:5px; ">
53
- < input type ="range " min ="1 " max ="20 " step ="1 " value ="10 " id ="fpsswitcher " style ="width:100%; ">
54
- < div style ="overflow:hidden; width:100%; ">
55
- < div style ="float:left; color:#6E6E6E; "> 1</ div >
56
- < div style ="float:right; color:#6E6E6E; "> 20</ div >
57
- </ div >
58
- </ div >
59
- </ div >
60
- </ div >
61
- </ div >
62
- </ div >
15
+ < div id ="frame ">
16
+ < h1 >
17
+ Turingmaschine Ameise
18
+ </ h1 >
19
+ < div id ="lower ">
20
+ < canvas id ="drawfield " width ="300 " height ="300 "> </ canvas >
21
+ </ div >
22
+ < div id ="upper ">
23
+ < div id ="info ">
24
+ < div >
25
+ < h1 > Steuerung</ h1 >
26
+ < button name ="resetRaster "> Zeichenfläche leeren</ button >
27
+ </ div >
28
+
29
+ < div style ="padding-bottom: 20px; "> < h1 > Simulationen</ h1 >
30
+ < button name ="run "> Einen Schritt simulieren</ button >
31
+ < button id ="autorun_button " name ="runAuto " style ="float:left; "> Auto-Simulation start</ button >
32
+ < div > Bilder pro Sekunde: < span id ="fps "> 10</ span > </ div >
33
+ < div >
34
+ < input type ="range " min ="1 " max ="20 " step ="1 " value ="10 " id ="fpsswitcher " style ="width:100%; ">
35
+ <!--<div>-->
36
+ < div style ="float:left; "> 1</ div >
37
+ < div style ="float:right; "> 20</ div >
38
+ <!--</div>-->
39
+ </ div >
40
+ </ div >
41
+ < div > < h1 > Hilfe zum Programm</ h1 >
42
+ < div >
43
+ Tragen Sie auf der großen grauen Fläche mit der Maus Punkte ein (durch Klicken).< br >
44
+ < br >
45
+ Starten Sie anschließend die automatische Simulation oder simulieren Sie nur den nächsten Schritt
46
+ indem Sie auf die jeweiligen Button klicken.< br >
47
+ < br >
48
+ Im Anschluss wird gemäß den folgenden Regeln der Automat durchgeführt:
49
+ < ul >
50
+ < li > Eine Ameise schaut zu Beginn in eine beliebige Richtung.</ li >
51
+ < li > Ist das Feld weiß: so färbt sie es schwarz und dreht sich um 90° nach rechts.</ li >
52
+ < li > Ist das Feld schwarz: so färbt sie es weiß und dreht sich um 90° nach links.</ li >
53
+ < li > Danach läuft sie ein Feld in die neue Blickrichtung.</ li >
54
+ </ ul >
55
+ </ div >
56
+ </ div >
57
+
58
+
59
+ </ div >
60
+ </ div >
61
+ </ div >
63
62
</ body >
64
63
</ html >
0 commit comments