-
Notifications
You must be signed in to change notification settings - Fork 3
/
quinelab.html
144 lines (127 loc) · 6.04 KB
/
quinelab.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<!DOCTYPE html>
<html lang="en-US">
<!-- based on a modification of the js version https://github.com/ishanpm/chemlambda-editor of my chemlambda v2, see the issue https://github.com/chorasimilarity/chemlambda-gui/issues/9
author: Marius
last modified: 16.03.2021
//
-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="css/icequine.css">
<title>Quine Lab</title>
</head>
<body style="overflow: scroll;">
<script src="js/d3.v5.9.4.min.js"></script>
<script src="js/jquery.min.js"></script>
<script src="js/pagelook-lab.js"></script>
<script src="js/ioprep.js"></script>
<div class="header">
<span3>Cite as: </span3><div>The quine lab. <a href="http://imar.ro/~mbuliga/index.html">© Marius Buliga</a> (2019-2021), https://mbuliga.github.io/quinegraphs/quinelab.html<span id="citeas"></span></div>
<span3>See also:</span3><br> <a href="https://chemlambda.github.io/index.html">All chemlambda projects</a>
</div>
<div class="row">
<div class="col-1 menu" style="text-align: left;"><div class="scol-12"> <span3 id="agetext">random choices </span3><br><br> <span3 id="buttonAge" class="image2" ></span3></div>
</div>
<div class="col-7 menu">
<ul>
<li>
<span2>
<select class="theme-construction" id="listofmols" onchange="selectionStarter();">
<option value="howtolab">MENU</option>
<option value="10_quine_bubbles">"10_quine_bubbles"</option>
<option value="10_quine_children">"10_quine_children"</option>
<option value="sparkFOE_540213">"sparkFOE_540213" gives "10_quine_bubbles"</option>
<option value="square_quine">hybrid of two "sparkFOE_540213" gives "square_quine"</option>
<option value="16_quine_A_L_FI_FO">chemlambda quine: "16_quine_A_L_FI_FO"</option>
<option value="bigpred_train"> first chemlambda quine: the ouroboros </option>
<option value="spark_243501">chemlambda quine: "spark_243501"</option>
<option value="16_quine_A_L_FI_FO_duplicate">"16_quine_A_L_FI_FO_duplicate"</option>
<option value="shuffle_10_0A8E7D9132C546B">"shuffle_10_0A8E7D9132C546B"</option>
<option value="shuffle_10_51D3E60BA74C928">"shuffle_10_51D3E60BA74C928"</option>
<option value="shuffle_10_D870619BC345AE2">"shuffle_10_D870619BC345AE2"</option>
<option value="random_egg_A_L_FI_FOE"> "random_egg_A_L_FI_FOE" </option>
<option value="random_egg_A_L_FI_FO"> "random_egg_A_L_FI_FO" </option>
<option value="random_10_quine_bubbles">"random_10_quine_bubbles"</option>
</select>
</span2>
</li>
<li></li>
<li> <span3 id="buttonImportMol" class="image2" ></span3> <span3 id="buttonUpdateMol" class="image2" ></span3>
</li>
<li> <span3>for edges use only 0-9,a-z,A-Z</span3>
</li>
<li><div><textarea id="inputmol" class="image2" style="height: 80px; width: 80%; background-color: #010101;
color: #6495ED; font-size: 14px;">FI 1 2 3^A 4 5 2^A 6 7 8^FI 8 9 10^FOE 11 12 13^FOE 14 15 16^A 12 15 5^A 13 16 14^FOE 3 17 18^FI 19 20 1^L 17 20 4^L 18 19 11^FOE 21 22 23^FOE 24 25 26^A 22 25 24^A 23 26 7^FOE 10 27 28^FI 29 30 9^L 27 30 21^L 28 29 6^</textarea> </div>
</li>
<li>
<span3>rewrites weights slider</span3> <div class="slidecontainer">GROW <input class="slider" type="range" min="0" max="100" value="50" id="rewritesRange"> SLIM</div>
</li>
</ul>
</div>
<div class="col-4 menu" style="text-align: left;">
<span3 style="text-align: left;"> nodes ∼ </span3><span id="nodenumber"></span>
</div>
</div>
<div class="row">
<div class="col-1 menu">
<div class="scol-12"> <span3 id="button0" class="image2" ></span3></div>
<div class="scol-12"> <span3 id="button1" class="image2" ></span3></div>
<div class="scol-12"> <span3 id="button2" class="image2" ></span3></div>
<div class="scol-12"> <span3 id="button3" class="image2" ></span3></div>
<div class="scol-12"> <span3 id="button4" class="image2" ></span3></div>
</div>
<div class="col-7 menu">
<ul>
<li> <div id="svgdiv"> </div></li>
<li><span3>gravity slider</span3> <div class="slidecontainer">MIN <input class="slider" type="range" min="1" max="250" value="150" id="gravRange"> MAX</div></li>
<li><span2>CODE: </span2><span id="molyoulookat"></span></li>
<li><span> (Rewrites stop at max. </span><span id="maxnodenumber">512</span> nodes<span>)</span></li>
</ul>
</div>
<div class="col-4 menu" style="text-align: left;">
<span id="comments" ></span><br><br>
<span3 style="text-align: left;" id="errors"></span3>
</div>
</div>
<div class="row">
<div class="scol-6" style="text-align: left;">
<span2>before:</span2><br><br>
<span id="puttransformcachealt"></span>
</div>
<div class="scol-6" style="text-align: left;">
<span2>chosen:</span2><br><br>
<span id="chosentransform"></span>
</div>
<div class="scol-6" style="text-align: left;">
<span2>after:</span2><br><br>
<span id="puttransformcachealtafter"></span>
</div>
<div class="scol-6" style="text-align: left;">
<span2>mol before:</span2><br><br>
<span id="molexport"></span>
</div>
<div class="scol-6" style="text-align: left;">
<span2>mol after:</span2><br><br>
<span id="molexportafter"></span>
</div>
</div>
<script src="js/iceMol.js"></script>
<script src="js/iceComments.js"></script>
<script src="js/parameters.js"></script>
<script src="js/nodes.js"></script>
<script src="js/chemistry.js"></script>
<!-- <script src="js/reactions.js"></script> -->
<script src="js/myD3Graph.js"></script>
<script src="js/icequine.js"></script>
<script>
var whichP = location.hash;
whichP = whichP.replace(/#/g, "");
if (whichP != "") {
document.getElementById("listofmols").value = whichP;
}
whichButtons(whichP);
selectionStarter();
</script>
</body>
</html>