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 :

http://waaronw.com/blog/wp-content/uploads/2010/01/intro.jpg

Aqui teneis todo el proceso
http://waaronw.com/blog/uncategorized/meta-nixie-clock/

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.

y si a eso le sumamos que ha tenido que hacer 2400 fotos…

PD: al menos imaginacion le ha echao… :smiley:

Jodeeeeeer !!

Hay gente con mucho tiempo libre por el mundo …:smiley:

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á “””

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 :


//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… ??¿?

¿Y qué pasa cuando cambia la hora?.:smiley:

jejejej que bueno, está muy original