Noise Texture Generator
This builds a black, semi-transparent noise tile out of an SVG feTurbulence filter. You pick fractal or turbulence noise, a roughness value, an opacity, a tile size of 200, 400, or 600 pixels, and a numeric seed. The preview lays the tile over a purple gradient. Copy CSS gives you a .noise-overlay::after rule with the SVG embedded as a base64 data URI, and Download SVG saves the standalone file.
How to generate a noise overlay
- Set Roughness (0.01 to 0.2). This is the filter's base frequency, so higher values give finer, tighter grain.
- Set Opacity from 0.1 to 1. This scales the alpha of the black noise.
- Choose a Noise Type: Fractal Noise (Organic) or Turbulence (Sharp), and a Size of 200, 400, or 600 pixels.
- Enter a Seed from 1 to 9999 to get the same pattern again (0 falls back to 42). Press Generate Noise to apply your changes, since the controls do not redraw on their own.
- Press Copy CSS for the overlay rule, or Download SVG to save
noise-texture-<timestamp>.svg.
Fractal noise versus turbulence, and why the grain is black
Both types come from the same Perlin-style generator. Fractal noise sums several octaves into a smooth, cloudy field, while turbulence sums the absolute values, which creates sharper ridges and creases. Here the filter keeps only the alpha channel and multiplies it by your Opacity, so the tile is black dots of varying transparency. Because the seed is fixed in the SVG, the pattern is identical every time you load the CSS.
Black grain darkens whatever sits behind it, so it is visible on light and mid-tone backgrounds but nearly invisible on a very dark one. The overlay is also set to pointer-events: none so it does not block clicks, but you must give the parent position: relative, as the copied rule does. The SVG stays under a kilobyte at any tile size because the browser computes the noise. The tile repeats without stitchTiles, so seams can show at tile edges, most visibly at low Roughness.