-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
First draft
Showing
28 changed files
with
1,721 additions
and
38 deletions.
There are no files selected for viewing
File renamed without changes
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,26 @@ | ||
<!DOCTYPE html><style>img { border: 1px solid pink; } </style><body><p>./FOO$$-1.svg</p><img src="./FOO$$-1.svg" /><hr> | ||
<p>./FOO_NICO$$0.svg</p><img src="./FOO_NICO$$0.svg" /><hr> | ||
<p>./FOO_NICO$$1.svg</p><img src="./FOO_NICO$$1.svg" /><hr> | ||
<p>./FOO_NICO$$2.svg</p><img src="./FOO_NICO$$2.svg" /><hr> | ||
<p>./BAR$$-1.svg</p><img src="./BAR$$-1.svg" /><hr> | ||
<p>./BAR_KO$$0.svg</p><img src="./BAR_KO$$0.svg" /><hr> | ||
<p>./BAR_KO$$1.svg</p><img src="./BAR_KO$$1.svg" /><hr> | ||
<p>./BAR_NINI$$0.svg</p><img src="./BAR_NINI$$0.svg" /><hr> | ||
<p>./BAR_NINI$$1.svg</p><img src="./BAR_NINI$$1.svg" /><hr> | ||
<p>./BAR_NINI$$2.svg</p><img src="./BAR_NINI$$2.svg" /><hr> | ||
<p>./BAR_NICOCO$$0.svg</p><img src="./BAR_NICOCO$$0.svg" /><hr> | ||
<p>./BAR_NICOCO$$1.svg</p><img src="./BAR_NICOCO$$1.svg" /><hr> | ||
<p>./BAR_NICOCO$$2.svg</p><img src="./BAR_NICOCO$$2.svg" /><hr> | ||
<p>./BAR_NICOCO$$3.svg</p><img src="./BAR_NICOCO$$3.svg" /><hr></body> | ||
<p>./FOO_コ$$0.svg</p><img src="./FOO_コ$$0.svg" /><hr> | ||
<p>./FOO_コ$$1.svg</p><img src="./FOO_コ$$1.svg" /><hr> | ||
<p>./FOO_ニコ$$0.svg</p><img src="./FOO_ニコ$$0.svg" /><hr> | ||
<p>./FOO_ニコ$$1.svg</p><img src="./FOO_ニコ$$1.svg" /><hr> | ||
<p>./FOO_ニコ$$2.svg</p><img src="./FOO_ニコ$$2.svg" /><hr> | ||
<p>./FOO_ニニ$$0.svg</p><img src="./FOO_ニニ$$0.svg" /><hr> | ||
<p>./FOO_ニニ$$1.svg</p><img src="./FOO_ニニ$$1.svg" /><hr> | ||
<p>./FOO_ニニ$$2.svg</p><img src="./FOO_ニニ$$2.svg" /><hr> | ||
<p>./FOO_ニココ$$0.svg</p><img src="./FOO_ニココ$$0.svg" /><hr> | ||
<p>./FOO_ニココ$$1.svg</p><img src="./FOO_ニココ$$1.svg" /><hr> | ||
<p>./FOO_ニココ$$2.svg</p><img src="./FOO_ニココ$$2.svg" /><hr> | ||
<p>./FOO_ニココ$$3.svg</p><img src="./FOO_ニココ$$3.svg" /><hr> | ||
<p>./BAR_コ$$0.svg</p><img src="./BAR_コ$$0.svg" /><hr> | ||
<p>./BAR_コ$$1.svg</p><img src="./BAR_コ$$1.svg" /><hr> | ||
<p>./BAR_ニコ$$0.svg</p><img src="./BAR_ニコ$$0.svg" /><hr> | ||
<p>./BAR_ニコ$$1.svg</p><img src="./BAR_ニコ$$1.svg" /><hr> | ||
<p>./BAR_ニコ$$2.svg</p><img src="./BAR_ニコ$$2.svg" /><hr> | ||
<p>./BAR_ニニ$$0.svg</p><img src="./BAR_ニニ$$0.svg" /><hr> | ||
<p>./BAR_ニニ$$1.svg</p><img src="./BAR_ニニ$$1.svg" /><hr> | ||
<p>./BAR_ニニ$$2.svg</p><img src="./BAR_ニニ$$2.svg" /><hr> | ||
<p>./BAR_ニココ$$0.svg</p><img src="./BAR_ニココ$$0.svg" /><hr> | ||
<p>./BAR_ニココ$$1.svg</p><img src="./BAR_ニココ$$1.svg" /><hr> | ||
<p>./BAR_ニココ$$2.svg</p><img src="./BAR_ニココ$$2.svg" /><hr> | ||
<p>./BAR_ニココ$$3.svg</p><img src="./BAR_ニココ$$3.svg" /><hr></body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<!DOCTYPE html> | ||
<meta charset="utf-8"> | ||
|
||
<html lang="ja"> | ||
|
||
<script> | ||
function foo() { | ||
const automaton = document.getElementById("automaton").value; | ||
const input_string = document.getElementById("input_string").value; | ||
let step = document.getElementById("step").value; | ||
|
||
document.getElementById("step").max = input_string.length; | ||
|
||
if (Number(step) > input_string.length) { | ||
step = `${input_string.length}`; | ||
} | ||
|
||
// console.log({ automaton, input_string, step }); | ||
|
||
const path = `${automaton}_${input_string}$$${step}.svg`; | ||
document.getElementById("result").innerHTML = `<img src="${path}">` | ||
} | ||
</script> | ||
|
||
|
||
<label for="automaton">使うオートマトン: </label><select id="automaton" onchange="foo()"> | ||
<option value="FOO">FOO</option> | ||
<option value="BAR">BAR</option> | ||
</select><br> | ||
|
||
<label for="input_string">入力文字列: </label><select id="input_string" onchange="foo()"> | ||
<option value="コ">コ</option> | ||
<option value="ニコ">ニコ</option> | ||
<option value="ニニ">ニニ</option> | ||
<option value="ニココ">ニココ</option> | ||
</select><br> | ||
|
||
<label for="step">ステップ数: </label> | ||
<input type="range" id="step" name="step" min="0" max="3" onchange="foo()" /> | ||
<div id="result"> | ||
|
||
</div> | ||
|
||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters