“Far out in the uncharted backwaters of the unfashionable end of the western spiral arm of the Galaxy lies a small unregarded yellow sun. Orbiting this at a distance of roughly ninety-two million miles is an utterly insignificant little blue green planet whose ape-descended life forms are so amazingly primitive that they still think digital watches are a pretty neat idea.” (Douglas Adams)
And as you can see, I still think digital watches are a pretty nice idea.
This page shows a web app for designing digital clocks. You can then download the clock as an SVG file and use it freely in a browser or on your website. Or you can use it as a template for building physical digital clocks.
The time display of the watch is provided by 7-segment displays, whereby the segment shape, its geometry and colors as well as the separator symbols between hours, minutes and seconds are adjustable.Here are some examples you can use as a template:
Using
You can embed this clock in an HTML page or display it directly in a browser. Since all the settings you made above are written to an SVG file during the download, it's very easy to use.
<html>
<head>
</head>
</body>
<object data="digitalclock.svg" type="image/svg+xml">
</object>
</body>
</html>
Please note that the clock is embedded using an object tag in HTML. The obvious image tag won't work because JavaScript execution is blocked there for security reasons.
Those familiar with the JavaScript programming language can also change the clock's properties directly in the SVG source code. To do this, first load any version of the clock and then open it in a text editor. At the top of the SVG source code, you'll find the JavaScript object options, which you can copy to the clipboard along with your settings from above and paste, or you can manually change the corresponding values.
Download
This software is licensed under the GNU General Public License (GPL), which includes the right to run, study, modify, and distribute the software.
If you want to physically build this clock, that is, print, mill, or laser-cut it, then you can download the appropriate "pattern" here. You will then receive a black and white vector graphic (SVG) with all the numerals and separators, which you can import into your CAD program as a template.