Skip to content

Commit

Permalink
show source imagery for comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
fidelthomet committed Sep 14, 2024
1 parent f26f801 commit d78152e
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,27 @@
<body>
<h1>dithering</h1>
<h2>image</h2>
<dither-dither src="./hermannstrasse.jpg"></dither-dither>
<div>
<img src="./hermannstrasse.jpg" />
<dither-dither src="./hermannstrasse.jpg"></dither-dither>
</div>
<h2>video</h2>
<dither-dither src="./hermannstrasse.mp4" video></dither-dither>
<div>
<video src="./hermannstrasse.mp4" muted autoplay loop></video>
<dither-dither src="./hermannstrasse.mp4" video></dither-dither>
</div>
<h2>custom threshold map</h2>
<dither-dither src="./hermannstrasse.jpg" threshold-map="./bayer8x8.png" lazy></dither-dither>
<div>
<img src="./hermannstrasse.jpg" />
<dither-dither src="./hermannstrasse.jpg" threshold-map="./bayer8x8.png" lazy></dither-dither>
</div>

</body>
<style>
div {
display: flex;
gap: 10px;
}
</style>

</html>

0 comments on commit d78152e

Please sign in to comment.