+/AutomataPlayground

git clone https://git.julia.blue/+/AutomataPlayground

Joseph RyanOptimization72493ee

main
1.0 KiB26 linesraw
1<!DOCTYPE html>
2<html>
3<head>
4    <meta charset="utf-8">
5    <title>1D Cellular Automata Playground</title>
6    <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
7    <link rel="stylesheet" href="style.css">
8    <script type="text/javascript" src="https://unpkg.com/vis-network/standalone/umd/vis-network.min.js"></script>
9</head>
10<body style="background-color:#404040;">
11    <div id="playground">
12    </div>
13    <div id="config">
14        <button id=step_forward>Step Forward</button>
15        <button id=step_back>Step Backwards</button>
16        <button id=expand_all>Expand ALL</button>
17        <label for="rule_num">Rule #</label>
18        <input type="number" id="rule_num" value="0" name="rule_num" min="0" max="255" size="3">
19        <label for="initial">Initial State:</label>
20        <input type="text" id="initial" name="initial" pattern="[10]+" maxlength="20" size="17">
21        <!-- <button id=help>?</button> -->
22        <div id="rules"></div>
23    </div>
24    <script type="text/javascript" src="main.js"></script>
25</body>
26</html>