Resultados 1 al 10 de 10 Tema: Convertir un marco digital en un bonito reloj para el salon Herramientas Versión para imprimir Enviar por correo… Suscribirse a este tema… Visualizar Modo lineal Cambiar a modo híbrido Cambiar a modo hilado 29/07/2010, 17:46 #1 Dundermiflin Ver perfil Ver mensajes del foro Mensaje privado Forero de HdR Fecha de ingreso 12 jul, 10 Mensajes 71 Me Gusta 0 0 Me gustas en 0 Posts Convertir un marco digital en un bonito reloj para el salon La gente se las sabe todas recently caught Matt Mets’ post on hacking a digital photo frame into a clock by generating a static image for each minute of the day, and then automating the action of advancing the image once per minute. This allows for any number of interesting clocks to be made with suggestions ranging from a written-word clock (as Matt’s project did) to photographing various clocks at each minute of the day to photographs of people miming clock hands. I happened to show this post to my husband and he absolutely loved the idea and wanted one for his desk at work. I immediately realized that I had found the perfect Christmas gift for him! El truco esta en poner 720 imagenes "pre-fabricadas" que cambian cada minuto (mostrando la hora correcta) y recubriendo el marco digital con un poquito de buen gusto (en este caso dandole un aire retro) Mirad como le ha quedado : Aqui teneis todo el proceso http://waaronw.com/blog/uncategorized/meta-nixie-clock/ El tiempo no se mide, hay que disfrutarlo y aprovecharlo Citar 29/07/2010, 19:55 #2 Chulillo Ver perfil Ver mensajes del foro Mensaje privado Forero de HdR Fecha de ingreso 04 abr, 10 Mensajes 2,232 Me Gusta 0 0 Me gustas en 0 Posts Qué curioso Dunder... es original la idea... eso sí, si se va la luz se descuajaringa todo... tendrías que buscar la imagen de la hora justa para que siguiera el bucle correctamente. OKEAH Final Edition 1976-2011. Proud owner of the true original watch. Serial number: 081/300 Citar 29/07/2010, 20:23 #3 paxarin Ver perfil Ver mensajes del foro Mensaje privado Forero de HdR Fecha de ingreso 21 mar, 10 Ubicación Les Asturies Mensajes 2,750 Me Gusta 2 7 Me gustas en 3 Posts y si a eso le sumamos que ha tenido que hacer 2400 fotos..... PD: al menos imaginacion le ha echao.. Citar 29/07/2010, 21:52 #4 durruti Ver perfil Ver mensajes del foro Mensaje privado Forero de HdR Fecha de ingreso 23 ene, 08 Mensajes 835 Me Gusta 0 2 Me gustas en 2 Posts Jodeeeeeer !! Hay gente con mucho tiempo libre por el mundo ..... Saludos, Durruti Tan abierta como te encontraste la puerta para entrar la tienes para salir si así lo deseas. Citar 29/07/2010, 22:55 #5 AFA Ver perfil Ver mensajes del foro Mensaje privado Forero de HdR Fecha de ingreso 04 dic, 09 Ubicación OVIEDO Mensajes 7,762 Me Gusta 2,715 579 Me gustas en 342 Posts Está bien pero... Menuda currada la pila de fotos Yo tengo un Sony que trae opción de reloj con varias configuraciones y """ya tá """ AFA OKEAH Final Edition 1976-2011.Proud owner of the true original watch. Serial number: 054/300 Citar 29/07/2010, 23:04 #6 AFA Ver perfil Ver mensajes del foro Mensaje privado Forero de HdR Fecha de ingreso 04 dic, 09 Ubicación OVIEDO Mensajes 7,762 Me Gusta 2,715 579 Me gustas en 342 Posts Iniciado por paxarin y si a eso le sumamos que ha tenido que hacer 2400 fotos..... PD: al menos imaginacion le ha echao.. Me lo explique paisano AFA OKEAH Final Edition 1976-2011.Proud owner of the true original watch. Serial number: 054/300 Citar 29/07/2010, 23:08 #7 ca901 Ver perfil Ver mensajes del foro Mensaje privado Forero de HdR Fecha de ingreso 16 mar, 08 Ubicación Pamplona Mensajes 745 Me Gusta 0 2 Me gustas en 2 Posts Osti!!! El dia tiene 1440 minutos,lo "guai" seria hacer 1440 fotos pero de distintos relojes digitales,casio,seiko,citizen etc etc....Se podrian meter mogollon de modelos!!!! y tenerlos siempre a la vista!! Si ademas le ponemos los segundos necesitariamos 86400 fotos de distintos relojes!!! Si ademas le ponemos la fecha serian 86400 x 365 dias, o sea, 31.536.000. Fotografias de distintos relojes..... Lo tiene claro el tio,eso si, menuda biblioteca relojeril!!,cada segundo un reloj distinto,que entretenido!!! Citar 30/07/2010, 00:02 #8 Dundermiflin Ver perfil Ver mensajes del foro Mensaje privado Forero de HdR Fecha de ingreso 12 jul, 10 Mensajes 71 Me Gusta 0 0 Me gustas en 0 Posts Creo que , por lo que he podido leer, el no ha "hecho" ninguna foto, ni tampoco son tantas imagenes como decis. El creador del reloj hace referencia a 720 imagenes en total (hay que tener en cuenta las repeticiones) Tambien dice que las imagenes ya las ha sacado hechas de otro usuario de flicker y ha usado un script en bash para crear todo el proceso. Os pego el texto original: . I started by combing Flickr for some good Nixie images. I found these by Flickr user erickanderson. (who built a great Nixie clock and who graciously agreed to let me feature his photos here) Of course I wasn’t going to sit and manually composite 720 images for the frame, so I broke out Processing and ripped Matt Mets’ original sketch for his clock to create this sketch: (Note, I did properly crop and normalize the images before sending them through this sketch) Aqui podeis ver el video que le dio la idea para hacerse su particular "marquito" NIXIE CLOCK y aqui el codigo para generar las imagenes necesarias : Código: //Thanks to Matt Mets for the initial version of this, to which the code below //bears only a passing resemblance… //To use this sketch, you will need an image of all 10 digits (all equally //sized and closely cropped) as well as a colon image and a blank spacer image. //These must be in the Data directory in the sketch's directory // Set these to match the resolution of your frame int imageWidth = 480; int imageHeight = 234; //This array holds the names of the digit images String[] imagenames = { "zero.jpg", "one.jpg", "two.jpg", "three.jpg", "four.jpg", "five.jpg", "six.jpg", "seven.jpg", "eight.jpg", "nine.jpg" }; String imageName = new String(); //This will hold the image objects for each digit PImage[] images = new PImage[10]; //This image will be added to the front and back of the clock //image to pad it out to the size of the frame as defined at the top PImage spacerImage; //The colon image used to separate the hours from the minutes PImage colonImage; //The width of each digit. Generally you will take the width of your frame //and divide by 5. (4 digits plus the colon) Since the colon will be much //narrower, you will want to split the extra into the front and back //padding. My frame is 480px which gives me 5 digits of 96px. I chose to //make my colon 26px wide, leaving 70px. I then divided that in two to //arrive at a 35px spacer front and back int digitwidth = 96; int colonwidth = 26; int spacerwidth = 35; int myInt, count=0; void setup() { //Populate the array of images using the image name array above for (myInt = 0; myInt<10; myInt++){ images[myInt] = loadImage(imagenames[myInt]); } //load the non-digit images spacerImage = loadImage("spacer.jpg"); colonImage = loadImage("dot.jpg"); imageMode(CORNER); // Set Processing's screen to the size of the frame so the images won't //be scaled by the frame, get blocky, take too long to load, etc. and //give us all black bg/fill/stroke size(imageWidth, imageHeight); //You can use a different background color, but if your images are //sized correctly, you shouldn't see it anyway background(0); stroke(0); fill(0); //Starts at 1:00 and works through to 12:59 - your clock will start at //1:00 instead of 12:00 when first powered up for( int hours = 1; hours < 13; hours++ ) { for( int minutes = 0; minutes < 60; minutes++) { // Clear the background by painting over it background(0); //Draw the first spacer image at the far left image(spacerImage,0,0); //Draw the colon in the middle image(colonImage,spacerwidth+(digitwidth*2),0); //Draw the second spacer at the far right image(spacerImage,spacerwidth+colonwidth+(digitwidth*4),0); //divide hours by 10 to get first digit, 0 or 1 image(images[hours/10],spacerwidth,0); //mod hours by 10 to get second digit, 0-9 image(images[hours%10],spacerwidth+digitwidth,0); //divide minutes by 10 to get first digit, 0-6 image(images[minutes/10], spacerwidth+colonwidth+(digitwidth*2), 0); //mod minutes by 10 to get second digit, 0-9 image(images[minutes%10], spacerwidth+colonwidth+(digitwidth*3), 0); // Write out an image file. My frame handleded >200 images/folder fine, so //I removed the subfolder code, but you can enable it if you need. //Note the ugly code that pads zeros into the imageName string and which //should be done a different way with string formatting, but, hey, it was //very early when I wrote this. imageName=""; if(count < 1000){ imageName="0"; if(count < 100){ imageName = "00"; if (count < 10){ imageName = "000"; } } } //Use this line if you need to break the images into 200/folder // save(count/200 + "/" + imageName + count++ + ".jpg"); //This line saves the image as a jpg save( "img/" + imageName + count++ + ".jpg"); } } } Lo que SI me tiene intrigado como indicaba antes el compañero "Chulillo" es como poner en hora correctamente el marquito de marras, que pasa si se va la luz.... ??¿? Última edición por Dundermiflin; 30/07/2010 a las 00:06 El tiempo no se mide, hay que disfrutarlo y aprovecharlo Citar 30/07/2010, 08:27 #9 Atlas Ver perfil Ver mensajes del foro Mensaje privado Forero de HdR Fecha de ingreso 11 jun, 10 Ubicación Valencia Mensajes 173 Me Gusta 0 0 Me gustas en 0 Posts ¿Y qué pasa cuando cambia la hora?. Citar 30/07/2010, 09:26 #10 lluna Ver perfil Ver mensajes del foro Mensaje privado Visitar la página de inicio Forero de HdR Fecha de ingreso 29 jul, 10 Ubicación Valencia Mensajes 18 Me Gusta 0 0 Me gustas en 0 Posts jejejej que bueno, está muy original Citar Navegación rápida Hablemos de Relojes Arriba Zonas del sitio Configuración Mensajes privados Suscripciones Quien está en línea Buscar en los foros Listado de foros Foros Proyecto Galeno Foro Oficial Grand Belize (Proyecto GB) Relojería HdR Hablemos de Relojes Rising Sun Watch Forum Comando G Comando Rojo Bajo la lupa El Laboratorio Proyectos HdR Proyectos del foro Proyecto Okeah Proyecto B-Uhr Proyecto Ferroviario Proyecto Monoaguja Proyecto GB Proyectos Antiguos Compras conjuntas Conjunta de relojes japoneses Conjunta Parnis Mercado HdR Mercado colaboradores del foro El rincón de Jalamillas Mercado de relojes Busco reloj Bazar Galería HdR Fotografía e Imagen Tokonoma Cafetería HdR Informática y tecnología FAQ's, tutoriales y sugerencias Biblioteca HdR Baselworld 2011 Análisis Revisiones Otros contenidos « Tema anterior | Próximo tema » Permisos de publicación No puedes crear nuevos temas No puedes responder temas No puedes subir archivos adjuntos No puedes editar tus mensajes Códigos BB están Activo Los Emoticonos están Activo Código [IMG] está Activo Código [VIDEO] está Activo Código HTML está Activo Reglas del foro
La gente se las sabe todas recently caught Matt Mets’ post on hacking a digital photo frame into a clock by generating a static image for each minute of the day, and then automating the action of advancing the image once per minute. This allows for any number of interesting clocks to be made with suggestions ranging from a written-word clock (as Matt’s project did) to photographing various clocks at each minute of the day to photographs of people miming clock hands. I happened to show this post to my husband and he absolutely loved the idea and wanted one for his desk at work. I immediately realized that I had found the perfect Christmas gift for him! El truco esta en poner 720 imagenes "pre-fabricadas" que cambian cada minuto (mostrando la hora correcta) y recubriendo el marco digital con un poquito de buen gusto (en este caso dandole un aire retro) Mirad como le ha quedado : Aqui teneis todo el proceso http://waaronw.com/blog/uncategorized/meta-nixie-clock/
El tiempo no se mide, hay que disfrutarlo y aprovecharlo
Qué curioso Dunder... es original la idea... eso sí, si se va la luz se descuajaringa todo... tendrías que buscar la imagen de la hora justa para que siguiera el bucle correctamente.
OKEAH Final Edition 1976-2011. Proud owner of the true original watch. Serial number: 081/300
y si a eso le sumamos que ha tenido que hacer 2400 fotos..... PD: al menos imaginacion le ha echao..
Jodeeeeeer !! Hay gente con mucho tiempo libre por el mundo .....
Saludos, Durruti Tan abierta como te encontraste la puerta para entrar la tienes para salir si así lo deseas.
Está bien pero... Menuda currada la pila de fotos Yo tengo un Sony que trae opción de reloj con varias configuraciones y """ya tá """
AFA OKEAH Final Edition 1976-2011.Proud owner of the true original watch. Serial number: 054/300
Iniciado por paxarin y si a eso le sumamos que ha tenido que hacer 2400 fotos..... PD: al menos imaginacion le ha echao.. Me lo explique paisano
Osti!!! El dia tiene 1440 minutos,lo "guai" seria hacer 1440 fotos pero de distintos relojes digitales,casio,seiko,citizen etc etc....Se podrian meter mogollon de modelos!!!! y tenerlos siempre a la vista!! Si ademas le ponemos los segundos necesitariamos 86400 fotos de distintos relojes!!! Si ademas le ponemos la fecha serian 86400 x 365 dias, o sea, 31.536.000. Fotografias de distintos relojes..... Lo tiene claro el tio,eso si, menuda biblioteca relojeril!!,cada segundo un reloj distinto,que entretenido!!!
Creo que , por lo que he podido leer, el no ha "hecho" ninguna foto, ni tampoco son tantas imagenes como decis. El creador del reloj hace referencia a 720 imagenes en total (hay que tener en cuenta las repeticiones) Tambien dice que las imagenes ya las ha sacado hechas de otro usuario de flicker y ha usado un script en bash para crear todo el proceso. Os pego el texto original: . I started by combing Flickr for some good Nixie images. I found these by Flickr user erickanderson. (who built a great Nixie clock and who graciously agreed to let me feature his photos here) Of course I wasn’t going to sit and manually composite 720 images for the frame, so I broke out Processing and ripped Matt Mets’ original sketch for his clock to create this sketch: (Note, I did properly crop and normalize the images before sending them through this sketch) Aqui podeis ver el video que le dio la idea para hacerse su particular "marquito" NIXIE CLOCK y aqui el codigo para generar las imagenes necesarias : Código: //Thanks to Matt Mets for the initial version of this, to which the code below //bears only a passing resemblance… //To use this sketch, you will need an image of all 10 digits (all equally //sized and closely cropped) as well as a colon image and a blank spacer image. //These must be in the Data directory in the sketch's directory // Set these to match the resolution of your frame int imageWidth = 480; int imageHeight = 234; //This array holds the names of the digit images String[] imagenames = { "zero.jpg", "one.jpg", "two.jpg", "three.jpg", "four.jpg", "five.jpg", "six.jpg", "seven.jpg", "eight.jpg", "nine.jpg" }; String imageName = new String(); //This will hold the image objects for each digit PImage[] images = new PImage[10]; //This image will be added to the front and back of the clock //image to pad it out to the size of the frame as defined at the top PImage spacerImage; //The colon image used to separate the hours from the minutes PImage colonImage; //The width of each digit. Generally you will take the width of your frame //and divide by 5. (4 digits plus the colon) Since the colon will be much //narrower, you will want to split the extra into the front and back //padding. My frame is 480px which gives me 5 digits of 96px. I chose to //make my colon 26px wide, leaving 70px. I then divided that in two to //arrive at a 35px spacer front and back int digitwidth = 96; int colonwidth = 26; int spacerwidth = 35; int myInt, count=0; void setup() { //Populate the array of images using the image name array above for (myInt = 0; myInt<10; myInt++){ images[myInt] = loadImage(imagenames[myInt]); } //load the non-digit images spacerImage = loadImage("spacer.jpg"); colonImage = loadImage("dot.jpg"); imageMode(CORNER); // Set Processing's screen to the size of the frame so the images won't //be scaled by the frame, get blocky, take too long to load, etc. and //give us all black bg/fill/stroke size(imageWidth, imageHeight); //You can use a different background color, but if your images are //sized correctly, you shouldn't see it anyway background(0); stroke(0); fill(0); //Starts at 1:00 and works through to 12:59 - your clock will start at //1:00 instead of 12:00 when first powered up for( int hours = 1; hours < 13; hours++ ) { for( int minutes = 0; minutes < 60; minutes++) { // Clear the background by painting over it background(0); //Draw the first spacer image at the far left image(spacerImage,0,0); //Draw the colon in the middle image(colonImage,spacerwidth+(digitwidth*2),0); //Draw the second spacer at the far right image(spacerImage,spacerwidth+colonwidth+(digitwidth*4),0); //divide hours by 10 to get first digit, 0 or 1 image(images[hours/10],spacerwidth,0); //mod hours by 10 to get second digit, 0-9 image(images[hours%10],spacerwidth+digitwidth,0); //divide minutes by 10 to get first digit, 0-6 image(images[minutes/10], spacerwidth+colonwidth+(digitwidth*2), 0); //mod minutes by 10 to get second digit, 0-9 image(images[minutes%10], spacerwidth+colonwidth+(digitwidth*3), 0); // Write out an image file. My frame handleded >200 images/folder fine, so //I removed the subfolder code, but you can enable it if you need. //Note the ugly code that pads zeros into the imageName string and which //should be done a different way with string formatting, but, hey, it was //very early when I wrote this. imageName=""; if(count < 1000){ imageName="0"; if(count < 100){ imageName = "00"; if (count < 10){ imageName = "000"; } } } //Use this line if you need to break the images into 200/folder // save(count/200 + "/" + imageName + count++ + ".jpg"); //This line saves the image as a jpg save( "img/" + imageName + count++ + ".jpg"); } } } Lo que SI me tiene intrigado como indicaba antes el compañero "Chulillo" es como poner en hora correctamente el marquito de marras, que pasa si se va la luz.... ??¿?
//Thanks to Matt Mets for the initial version of this, to which the code below //bears only a passing resemblance… //To use this sketch, you will need an image of all 10 digits (all equally //sized and closely cropped) as well as a colon image and a blank spacer image. //These must be in the Data directory in the sketch's directory // Set these to match the resolution of your frame int imageWidth = 480; int imageHeight = 234; //This array holds the names of the digit images String[] imagenames = { "zero.jpg", "one.jpg", "two.jpg", "three.jpg", "four.jpg", "five.jpg", "six.jpg", "seven.jpg", "eight.jpg", "nine.jpg" }; String imageName = new String(); //This will hold the image objects for each digit PImage[] images = new PImage[10]; //This image will be added to the front and back of the clock //image to pad it out to the size of the frame as defined at the top PImage spacerImage; //The colon image used to separate the hours from the minutes PImage colonImage; //The width of each digit. Generally you will take the width of your frame //and divide by 5. (4 digits plus the colon) Since the colon will be much //narrower, you will want to split the extra into the front and back //padding. My frame is 480px which gives me 5 digits of 96px. I chose to //make my colon 26px wide, leaving 70px. I then divided that in two to //arrive at a 35px spacer front and back int digitwidth = 96; int colonwidth = 26; int spacerwidth = 35; int myInt, count=0; void setup() { //Populate the array of images using the image name array above for (myInt = 0; myInt<10; myInt++){ images[myInt] = loadImage(imagenames[myInt]); } //load the non-digit images spacerImage = loadImage("spacer.jpg"); colonImage = loadImage("dot.jpg"); imageMode(CORNER); // Set Processing's screen to the size of the frame so the images won't //be scaled by the frame, get blocky, take too long to load, etc. and //give us all black bg/fill/stroke size(imageWidth, imageHeight); //You can use a different background color, but if your images are //sized correctly, you shouldn't see it anyway background(0); stroke(0); fill(0); //Starts at 1:00 and works through to 12:59 - your clock will start at //1:00 instead of 12:00 when first powered up for( int hours = 1; hours < 13; hours++ ) { for( int minutes = 0; minutes < 60; minutes++) { // Clear the background by painting over it background(0); //Draw the first spacer image at the far left image(spacerImage,0,0); //Draw the colon in the middle image(colonImage,spacerwidth+(digitwidth*2),0); //Draw the second spacer at the far right image(spacerImage,spacerwidth+colonwidth+(digitwidth*4),0); //divide hours by 10 to get first digit, 0 or 1 image(images[hours/10],spacerwidth,0); //mod hours by 10 to get second digit, 0-9 image(images[hours%10],spacerwidth+digitwidth,0); //divide minutes by 10 to get first digit, 0-6 image(images[minutes/10], spacerwidth+colonwidth+(digitwidth*2), 0); //mod minutes by 10 to get second digit, 0-9 image(images[minutes%10], spacerwidth+colonwidth+(digitwidth*3), 0); // Write out an image file. My frame handleded >200 images/folder fine, so //I removed the subfolder code, but you can enable it if you need. //Note the ugly code that pads zeros into the imageName string and which //should be done a different way with string formatting, but, hey, it was //very early when I wrote this. imageName=""; if(count < 1000){ imageName="0"; if(count < 100){ imageName = "00"; if (count < 10){ imageName = "000"; } } } //Use this line if you need to break the images into 200/folder // save(count/200 + "/" + imageName + count++ + ".jpg"); //This line saves the image as a jpg save( "img/" + imageName + count++ + ".jpg"); } } }
Última edición por Dundermiflin; 30/07/2010 a las 00:06
¿Y qué pasa cuando cambia la hora?.
jejejej que bueno, está muy original
Reglas del foro