aboutsummaryrefslogtreecommitdiff
path: root/src/index.html
diff options
context:
space:
mode:
authorNatasha Moongrave <natasha@256phi.eu>2026-04-08 15:22:32 +0200
committerNatasha Moongrave <natasha@256phi.eu>2026-04-08 15:22:32 +0200
commit8deca947fcfce358aea2f98fcdc38064aa28d445 (patch)
tree3d4da648afcdc9cbefa74a6c6c2b791302b3aa00 /src/index.html
parente30839a82f8379d678137591aa0c57f826e57587 (diff)
Add SVG glitch filter definition to all pagescss-refactor
Diffstat (limited to 'src/index.html')
-rw-r--r--src/index.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/index.html b/src/index.html
index bbde848..d16437b 100644
--- a/src/index.html
+++ b/src/index.html
@@ -26,6 +26,16 @@
<p>© 256phi | 2026 | <a href="/contact">Contact Us</a></p>
</footer>
</div>
+ <svg style="position:absolute;width:0;height:0;" xmlns="http://www.w3.org/2000/svg">
+ <filter id="glitch">
+ <feTurbulence numOctaves="1" baseFrequency="0.01 0.1" type="fractalNoise" result="fine" />
+ <feComponentTransfer in="displaceRaw" result="displace">
+ <feFuncR type="discrete" tableValues="0 .2 .4 .5 .6 .8 1" />
+ <feFuncA type="discrete" tableValues="0" />
+ </feComponentTransfer>
+ <feDisplacementMap in="SourceGraphic" in2="displace" xChannelSelector="R" scale="15" />
+ </filter>
+ </svg>
<script type="module" src="Background/main.js"></script>
</body>
</html>