edit: réglages un peu mieux, problème cadrage vidéo sur tel
This commit is contained in:
+1
-1
@@ -47,7 +47,7 @@ function scanlines(){
|
|||||||
|
|
||||||
for(let y = 0; y<tH; y++){
|
for(let y = 0; y<tH; y++){
|
||||||
for(let x = 0; x<tW; x++){
|
for(let x = 0; x<tW; x++){
|
||||||
let lum = (Math.sin(y*2 - time*3.1415) * 44) + 77;
|
let lum = (Math.sin(y*2 - time*3.1415) * 44) + 161;
|
||||||
|
|
||||||
//img.data[index++] = lum;
|
//img.data[index++] = lum;
|
||||||
index++;
|
index++;
|
||||||
|
|||||||
+2
-2
@@ -5,7 +5,7 @@ import { noiseAnimation } from './cuteTexture.js'
|
|||||||
|
|
||||||
loadEvents();
|
loadEvents();
|
||||||
loadStatus();
|
loadStatus();
|
||||||
/*
|
|
||||||
// =================================== background texture
|
// =================================== background texture
|
||||||
let textureVideo = document.querySelectorAll('main > #texture');
|
let textureVideo = document.querySelectorAll('main > #texture');
|
||||||
|
|
||||||
@@ -22,7 +22,7 @@ console.log(textureCanvas);
|
|||||||
|
|
||||||
scanlinesAnimation();
|
scanlinesAnimation();
|
||||||
// ======================================== stops here !
|
// ======================================== stops here !
|
||||||
*/
|
|
||||||
|
|
||||||
let target = document.querySelector('#posterWindow');
|
let target = document.querySelector('#posterWindow');
|
||||||
|
|
||||||
|
|||||||
@@ -9,10 +9,10 @@
|
|||||||
|
|
||||||
.openBackground{
|
.openBackground{
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
|
opacity: .333;
|
||||||
}
|
}
|
||||||
|
|
||||||
.openBackground#texture{
|
.openBackground#texture{
|
||||||
opacity: .5;
|
|
||||||
z-index: -31;
|
z-index: -31;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -135,7 +135,7 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
top: 0;
|
top: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 77px;
|
height: 44px;
|
||||||
|
|
||||||
background-color: var(--main-color);
|
background-color: var(--main-color);
|
||||||
color: var(--back-color);
|
color: var(--back-color);
|
||||||
|
|||||||
+2
-1
@@ -546,5 +546,6 @@ canvas{
|
|||||||
inset: 0;
|
inset: 0;
|
||||||
z-index: -32;
|
z-index: -32;
|
||||||
|
|
||||||
opacity: 1;
|
opacity: .5;
|
||||||
|
filter: hue-rotate(13.12deg);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user