Chiseled
Original demo by Vincent Hardy, published October 4, 2009.
Chiseled was a study in how far SVG filter primitives could go with no scripting in the drawing itself. The word “svg” is ordinary text. Everything that makes it look like cast gold set into corroded metal comes from one filter of a little over twenty primitives.
The filter works in layers. A texture image becomes a height map, and a spotlight rakes across it to raise the pits and scale of the plate. The letters get a second height map from a blurred copy of their own alpha channel, lit by a distant light and tightened with a gamma curve. Screen and multiply blends then fold light into the surface, and a dilated, offset blur adds the shadow. Four small switches rewrite a handful of attributes to move the light to another corner.
The filter code in this restoration is the original. The rust photograph it loaded could not be reused, so it was replaced with a new metal texture generated from fractal noise. The layout now scales to the window, the switches work from the keyboard, and the font falls back to a system serif where Garamond is missing. A one pixel clip hides a bright line Chromium draws along the edge of the lighting result.
This note was newly written for the reconstruction. Read the original post in the Internet Archive.
Topics: Filters