mirror of
https://github.com/andrewstephens75/as-dithered-image.git
synced 2026-04-14 12:29:30 -07:00
Updated the test page a little
This commit is contained in:
11
test.html
11
test.html
@@ -2,19 +2,13 @@
|
|||||||
<html>
|
<html>
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<title>Test Page</title>
|
<title>as-dithered-image.js Test Page</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<script src="as-dithered-image.js"></script>
|
<script src="as-dithered-image.js"></script>
|
||||||
<style>
|
|
||||||
.setSize {
|
|
||||||
width: 80%;
|
|
||||||
min-width: 80%;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<div style="min-height: 4000px; border: 1px solid black"></div>
|
<p>A short, hacky demo page - used only for internal testing. See the blog post for a better one.</p>
|
||||||
|
|
||||||
<as-dithered-image class="setSize" id="picture"
|
<as-dithered-image class="setSize" id="picture"
|
||||||
src="Van_Gogh_-_Starry_Night_-_Google_Art_Project.jpg"></as-dithered-image>
|
src="Van_Gogh_-_Starry_Night_-_Google_Art_Project.jpg"></as-dithered-image>
|
||||||
@@ -30,6 +24,7 @@
|
|||||||
</select>
|
</select>
|
||||||
<input id="cutoff" type="range" min="0.0" max="1.0" step="0.05" value="any" />
|
<input id="cutoff" type="range" min="0.0" max="1.0" step="0.05" value="any" />
|
||||||
<input id="choosefile" type="file" />
|
<input id="choosefile" type="file" />
|
||||||
|
Drag and drop works as well
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user