Browse Source

image previews

new-sep-loss
Michael Pilosov, PhD 10 months ago
parent
commit
a02a662b6f
  1. 1
      .gitignore
  2. 38
      index.html
  3. 2
      out/index.html

1
.gitignore

@ -5,3 +5,4 @@ out/
.sw[opqr] .sw[opqr]
*.tar.gz *.tar.gz
.pat .pat
out*

38
index.html

@ -0,0 +1,38 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Discover the Rainbow</title>
<style>
body {
text-align: center;
font-family: Arial, sans-serif;
}
h1 {
margin-top: 50px;
}
.links {
margin-top: 20px;
}
.links a {
display: block;
margin: 10px 0;
font-size: 18px;
color: blue;
text-decoration: none;
}
.links a:hover {
text-decoration: underline;
}
</style>
</head>
<body>
<h1>Discover the Rainbow</h1>
<div class="links">
<a href="./out1">Iteration 1</a>
<a href="./out2">Iteration 2</a>
<a href="./out3">Iteration 3</a>
</div>
</body>
</html>

2
out/index.html

@ -77,7 +77,7 @@
if (i == -21) { if (i == -21) {
imageName = 'hsv.png'; imageName = 'hsv.png';
} else { } else {
imageName = 'v' + i + '.jpg'; imageName = 'v' + i + '.png';
} }
let img = document.createElement('img'); let img = document.createElement('img');
img.src = imageName; img.src = imageName;

Loading…
Cancel
Save