Archivo:Animated analog SVG clock.svg
Este archivo es de Wikimedia Commons y puede usarse en otros proyectos. La descripción en su página de descripción del archivo se muestra debajo.
Resumen
| DescripciónAnimated analog SVG clock.svg |
Deutsch: Animierte analoge SVG-Uhr.
English: Animated analog SVG clock. |
|||
| Fecha | ||||
| Fuente |
Trabajo propio English: Based on this master image.
Deutsch: Basierend auf dieser Bildvorlage. |
|||
| Autor | Fleshgrinder | |||
| Permiso (Reutilización de este archivo) |
|
|||
| SVG desarrollo InfoField |
Esta imagen es un archivo SVG animado. La previsualización .png anterior, creada por RSVG para su uso en Wikimedia, no está animada y podría estar incompleta o mostrarse de forma incorrecta. Para ver la animación, ábrase media:Animated analog SVG clock.svg. Podrá ejecutarlo cualquier navegador o visor moderno. Las versiones recientes de Chrome, Firefox, Microsoft Edge, Safari y Opera admiten SVG animados con SMIL.
Se pueden encontrar más animaciones SVG en Category:Animated SVG files.
|
Resumen
/**
* Set the clock to the client's system time, directly after the SVG is loaded.
*
* @param evt e
*/
function s(e) {
// Create new Date() object.
var d = new Date();
// Get current seconds.
var s = d.getSeconds();
// Get current minutes and add the current second.
var m = d.getMinutes() + s / 60;
// Get current hours and add the current minute.
var h = d.getHours() + m / 60;
// Get the current document, so we can alter the DOM.
var svg = e.target.ownerDocument;
// Rotate the second clockhand to the current seconds.
svg.getElementById("Second").setAttribute("transform", "rotate(" + (s * 6) + ", 256, 256)");
svg.getElementById("SecondShadow").setAttribute("transform", "rotate(" + (s * 6) + ", 253, 259)");
// Rotate the minute clockhand to the current minute.
svg.getElementById("Minute").setAttribute("transform", "rotate(" + (m * 6) + ", 256, 256)");
svg.getElementById("MinuteShadow").setAttribute("transform", "rotate(" + (m * 6) + ", 254, 258)");
// Rotate the hour clockhand to the current hour.
svg.getElementById("Hour").setAttribute("transform", "rotate(" + (h * 30) + ", 256, 256)");
svg.getElementById("HourShadow").setAttribute("transform", "rotate(" + (h * 30) + ", 255, 257)");
}
Esta imagen es considerada imagen de calidad después de haber sido evaluada según la guía para imágenes de calidad.
العربية ∙ جازايرية ∙ беларуская ∙ беларуская (тарашкевіца) ∙ български ∙ বাংলা ∙ català ∙ čeština ∙ Cymraeg ∙ Deutsch ∙ Schweizer Hochdeutsch ∙ Zazaki ∙ Ελληνικά ∙ English ∙ Esperanto ∙ español ∙ eesti ∙ euskara ∙ فارسی ∙ suomi ∙ français ∙ galego ∙ עברית ∙ हिन्दी ∙ hrvatski ∙ magyar ∙ հայերեն ∙ Bahasa Indonesia ∙ italiano ∙ 日本語 ∙ Jawa ∙ ქართული ∙ Qaraqalpaqsha ∙ 한국어 ∙ kurdî ∙ кыргызча ∙ Latina ∙ Lëtzebuergesch ∙ lietuvių ∙ македонски ∙ മലയാളം ∙ मराठी ∙ Bahasa Melayu ∙ Nederlands ∙ ਪੰਜਾਬੀ ∙ Norfuk / Pitkern ∙ polski ∙ português ∙ português do Brasil ∙ rumantsch ∙ română ∙ русский ∙ sicilianu ∙ slovenčina ∙ slovenščina ∙ shqip ∙ српски / srpski ∙ svenska ∙ தமிழ் ∙ తెలుగు ∙ ไทย ∙ Tagalog ∙ toki pona ∙ Türkçe ∙ українська ∙ oʻzbekcha / ўзбекча ∙ vèneto ∙ Tiếng Việt ∙ 中文 ∙ 中文(简体) ∙ 中文(繁體) ∙ +/− |
Leyendas
Elementos representados en este archivo
representa a
Algún valor sin elemento de Wikidata
11 nov 2010
image/svg+xml
97f47b2fca1cd97c29a7f1bd45639e5ca43e8ac1
34 056 byte
512 píxel
512 píxel
Historial del archivo
Haz clic sobre una fecha y hora para ver el archivo tal como apareció en ese momento.
| Fecha y hora | Miniatura | Dimensiones | Usuario | Comentario | |
|---|---|---|---|---|---|
| actual | 22:50 14 nov 2010 | 512 × 512 (33 kB) | wikimediacommons>Fleshgrinder | Updated version with more SFX and improved readability. This SVG is not minimized so it’s easier to have a direct look at the source code. |
Usos del archivo
No hay páginas que enlacen a este archivo.