diff --git a/index.html b/index.html index 9b6a2a8..9ce781d 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@
-A small experiment on creating beautiful, dynamic backgrounds with - colorful gradients & film grain. Built in React & Vite with SVGs and layers of Radial Gradients. + colorful gradients & film grain. Built in React & Vite{" "} + with SVGs and layers of Radial Gradients. +
++ This app was inspired by the gradients used{" "} + + certain popular instagram post + {" "} + with beautiful gradients and a slight film grain applied. I wanted + to create something similar, but in a website form. +
++ By using a SVG with a{" "} +
<feTurbulence>filter inside, + stacked upon several
radial-gradient{" "} + background images, the same effect can be created. Since SVGs do not + naturally repeat internally, the SVG itself must be generated in + such a way that the noise always displays the same way. + +
+ React comes in handy here, allowing composition of an SVG, and then + conversion to a
base64encoded string. + As a
base64image, it can be fed into + the
backgroundCSS property, allowing + dynamic SVG generation.