From 9fd2fbff643c6ee5d6295b678729aa38e6f8d14d Mon Sep 17 00:00:00 2001 From: heck Date: Sat, 14 Jun 2025 17:40:59 +0200 Subject: [PATCH] Add shader variations and keyboard controls [0-9] - choose shader variation Arrow Right - next shader variation Arrow Left - previous shader variation Esc - restart shader --- html/css/fontred.css | 209 +++++++++++++++++ html/css/fontwhite.css | 217 +++++++++++++++++ html/index.html | 516 ++++++++++++++++++++++++++--------------- 3 files changed, 761 insertions(+), 181 deletions(-) create mode 100644 html/css/fontred.css create mode 100644 html/css/fontwhite.css diff --git a/html/css/fontred.css b/html/css/fontred.css new file mode 100644 index 0000000..df05b26 --- /dev/null +++ b/html/css/fontred.css @@ -0,0 +1,209 @@ +body { + background-color: #000000; + opacity: 0.98; +} + +#hecksshader { + width: 100%; + height: 100%; + display: block; + position: fixed; + top: 0; + left: 0; + z-index: -899; + opacity: 0.9999; +} + +.aliasingdiv { + background-color: #040000; + width: 100%; + height: 100%; + display: block; + position: fixed; + top: 0; + left: 0; + z-index: -899; + opacity: 0.0; +} + +.toningdiv { + background-color: #0000ff; + width: 100%; + height: 100%; + display: block; + position: fixed; + top: 0; + left: 0; + z-index: 899; + opacity: 0.0; +} + +.brightnessdiv { + background-color: #ffffff; + width: 100%; + height: 100%; + display: block; + position: fixed; + top: 0; + left: 0; + z-index: 999; + opacity: 0.05; +} + + +.container { + background-color: transparent; + width: 100%; + border-left: 0px none #dee2e6 !important; + border-right: 0px none #dee2e6 !important; + margin-right: auto; + margin-left: auto; + padding: 0; + opacity: 1.0; +} + +.cardcontainer { + background-color: transparent; + width: 100%; + margin-top: 0vh; + margin-bottom: 4vh; + border-top: 0px none #ffffff !important; + opacity: 0.999; +} + +.section { + background-color: transparent; + width: 100%; + margin-top: 0vh; + margin-bottom: 0vh; + border-top: 0px none #ffffff !important; + opacity: 0.9999; +} + +.card { + background-color: transparent; + width: 100%; + margin-top: 0vh; + margin-bottom: 0vh; + border: 0px solid #dee2e6 !important; + opacity: 0.9999; +} + +.card-body { + background-color: #030306; + margin-top: 0vh; + margin-bottom: 0vh; + border-style: solid; + border-top: 1px solid #202020 !important; + border-bottom: 1px solid #202020 !important; + border-left: 0; + border-right: 0; + opacity: 0.8; +} + +.flyer { + opacity: 0.8; +} + +.logo { + margin-left: auto; + margin-right: auto; + padding-bottom: 0vh; + width: 50%; + display: block; +} + +.card-title { + font-family: 'Lato black', sans-serif; + color: #ef3333; + font-size: 1.3rem; +} + +.osmmap { + opacity: 0.5; +} + +.presentedby { + font-family: 'Lato black', sans-serif; + font-size: 1.42rem; + letter-spacing: 0.14em; + text-transform: uppercase; + color: #9f1414; + margin-top: 2vh; + margin-bottom: 2vh; +} + +h2 { + font-family: 'Lato black', sans-serif; + font-size: 1.42rem; + letter-spacing: 0.14em; + text-transform: uppercase; + color: #901010; + margin-top: 1vh; + margin-bottom: 0vh; +} + +h5 { + text-transform: uppercase; + font-size: 0.1rem; + color: #c00606; +} + +p { + font-family: 'trench', sans-serif; + letter-spacing: 0.06em; + font-size: 1.21em; + color: #c20606; + hyphens: none; + margin-top: 0.5em; + margin-bottom: 0.5em; +} + +li { + font-family: 'trench', sans-serif; + letter-spacing: 0.06em; + text-transform: capitalize; + font-size: 1.23em; + color: #c20606; +} + +img { + width: 100%; +} + + +a:link { + color: #dddddd; +} + +a:visited { + color: #dddddd; +} + +a:hover { + color: #dddddd; +} + +a:active { + color: #dddddd; +} + + +.row { + margin-left: 0; + margin-right: 0; +} + +.col-12 { + padding-left: 3vw; + padding-right: 3vw; +} + +.fas, .fab { + color: #dddddd; + font-size: 2em; +} + +a, u { + text-decoration: none; +} \ No newline at end of file diff --git a/html/css/fontwhite.css b/html/css/fontwhite.css new file mode 100644 index 0000000..3ae9d96 --- /dev/null +++ b/html/css/fontwhite.css @@ -0,0 +1,217 @@ + +body { + background-color: #000000; + opacity: 0.98; +} + +#hecksshader { + width: 100%; + height: 100%; + display: block; + position: fixed; + top: 0; + left: 0; + z-index: -899; + opacity: 0.9999; +} + +.aliasingdiv { + background-color: #040000; + width: 100%; + height: 100%; + display: block; + position: fixed; + top: 0; + left: 0; + z-index: -899; + opacity: 0.75; +} + +.toningdiv { + background-color: #0000ff; + width: 100%; + height: 100%; + display: block; + position: fixed; + top: 0; + left: 0; + z-index: 899; + opacity: 0.0; +} + +.brightnessdiv { + background-color: #ffffff; + width: 100%; + height: 100%; + display: block; + position: fixed; + top: 0; + left: 0; + z-index: 999; + opacity: 0.05; +} + + +.container { + background-color: transparent; + width: 100%; + border-left: 0px none #dee2e6 !important; + border-right: 0px none #dee2e6 !important; + margin-right: auto; + margin-left: auto; + padding: 0; + opacity: 1.0; +} + +.cardcontainer { + border-radius: 300px; + background-color: transparent; + width: 100%; + margin-top: 0vh; + margin-bottom: 4vh; + border-top: 0px none #ffffff !important; + opacity: 0.999; +} + +.section { + background-color: transparent; + width: 100%; + margin-top: 0vh; + margin-bottom: 0vh; + border-top: 0px none #ffffff !important; + opacity: 0.9999; +} + +.card { + background-color: transparent; + width: 100%; + margin-top: 0vh; + margin-bottom: 0vh; + border: 0px solid #dee2e6 !important; + opacity: 0.9999; +} + +.card-body { + background-color: #030306; + margin-top: 0vh; + margin-bottom: 0vh; + border-style: solid; + border-top: 1px solid #202020 !important; + border-bottom: 1px solid #202020 !important; + border-left: 0; + border-right: 0; + opacity: 0.8; +} + +.flyer { + opacity: 0.8; +} + +.logo { + margin-left: auto; + margin-right: auto; + padding-bottom: 0vh; + width: 50%; + display: block; +} + +.card-title { + font-family: 'Lato black', sans-serif; + color: #ef3333; + font-size: 1.3rem; +} + +.osmmap { + opacity: 0.5; +} + +.presentedby { + font-family: 'Lato black', sans-serif; + font-size: 1.42rem; + letter-spacing: 0.14em; + text-transform: uppercase; + color: #eeeeff; + margin-top: 2vh; + margin-bottom: 2vh; +} + +h2 { + font-family: 'Lato black', sans-serif; + font-size: 1.42rem; + letter-spacing: 0.14em; + text-transform: uppercase; + color: #eeeeff; + margin-top: 1vh; + margin-bottom: 0vh; +} + +h5 { + text-transform: uppercase; + font-size: 0.1rem; + color: #c00606; +} + +p { + font-family: 'trench', sans-serif; + letter-spacing: 0.06em; + font-size: 1.21em; + color: #cccce0; + hyphens: none; + margin-top: 0.5em; + margin-bottom: 0.5em; +} + +li { + font-family: 'trench', sans-serif; + letter-spacing: 0.06em; + text-transform: capitalize; + font-size: 1.23em; + color: #eeeeee; +} + +img { + width: 100%; +} + + +a:link { + color: #dddddd; +} + +a:visited { + color: #dddddd; +} + +a:hover { + color: #dddddd; +} + +a:active { + color: #dddddd; +} + + +.row { + margin-left: 0; + margin-right: 0; +} + +.col-12 { + padding-left: 3vw; + padding-right: 3vw; +} + +.fas, .fab { + color: #dddddd; + font-size: 2em; +} + +a, u { + text-decoration: none; +} + + +/*@font-face {*/ +/* font-family: 'vw';*/ +/* src: url('./resources/vampirewars.ttf');*/ +/*}*/ diff --git a/html/index.html b/html/index.html index c8bda7e..10539ee 100644 --- a/html/index.html +++ b/html/index.html @@ -11,6 +11,7 @@ + + void hallucinate_2(out vec4 fragColor, in vec2 fragCoord) { + vec2 uv = fragCoord.xy / iResolution.y; + vec2 uvm = iMouse.xy / iResolution.y; - + + + void main() { + if(shadervariation == 0) { + hallucinate_1(gl_FragColor, gl_FragCoord.xy); + } + if(shadervariation == 1) { + orion(gl_FragColor, gl_FragCoord.xy); + } + if(shadervariation == 2) { + hallucinate_2(gl_FragColor, gl_FragCoord.xy); + } + if(shadervariation == 3) { + camousmudgy(gl_FragColor, gl_FragCoord.xy); + } + if(shadervariation == 4) { + flashsmudgy(gl_FragColor, gl_FragCoord.xy); + } + if(shadervariation == 5) { + noiseinfection(gl_FragColor, gl_FragCoord.xy); + } + if(shadervariation == 6) { + jitterbang(gl_FragColor, gl_FragCoord.xy); + } + if(shadervariation == 7) { + flashbang(gl_FragColor, gl_FragCoord.xy); +// glitchbang(gl_FragColor, gl_FragCoord.xy); + } + if(shadervariation == 8) { + tvshutdown(gl_FragColor, gl_FragCoord.xy); + } + + // debris(gl_FragColor, gl_FragCoord.xy); +// decorationgoeslsd(gl_FragColor, gl_FragCoord.xy); +// bentorbits(gl_FragColor, gl_FragCoord.xy); +// interfields(gl_FragColor, gl_FragCoord.xy); + } + @@ -301,7 +383,7 @@
-
+
Subfactory Banner
@@ -466,7 +548,6 @@ -