This commit is contained in:
2024-08-10 20:32:17 +02:00
parent ee39fdd950
commit 599ae1bcd5
2 changed files with 6 additions and 6 deletions

Binary file not shown.

View File

@@ -56,6 +56,12 @@
</script> </script>
<script> <script>
import * as img from 'img/' import * as img from 'img/'
function load_img() {
for var i=0;i<img.length;i++) {
document.querySelector("iamge-container").innerHTML+=('<img src='+igm[i].src);
// via https://stackoverflow.com/a/61382627
}
}
function shade() { function shade() {
shaderWebBackground.shade({ shaderWebBackground.shade({
shaders: { shaders: {
@@ -75,12 +81,6 @@
document.getElementById("image").innerHTML = newShader; document.getElementById("image").innerHTML = newShader;
} }
//shade() //shade()
function load_img() {
for var i=0;i<img.length;i++) {
document.querySelector("iamge-container").innerHTML+=('<img src='+igm[i].src);
// via https://stackoverflow.com/a/61382627
}
}
</script> </script>