Thursday, July 29, 2010

lolcat Viewer v1.1

Lolcat View v1.1

I added some new features to my lolcat viewer program that I made for last week's thingaweek. It includes all of the features that the previous version had, except the image information is now displayed on the window. Additionally, the background of the window changes to a random "soft" color each time to change to a new picture.

Lolcat Viewer v1.1

I made an actual, physical object for this week's thingaweek. I will post about it tomorrow.

Thursday, July 22, 2010

Thingaweek #1 - lolcat Viewer

Thingaweek #1 - lolcat Viewer

My first creation for thingaweek is a lolcat Viewer. I found lolcatz when they originally appeared on the internet and since then I've saved the ones that I like. Fast forward a couple years of doing this and I now have a library of a couple hundred lolcatz.

I wrote a simple java program that displays the images in my library. When you click the mouse in the window, it selects a random lolcat. I also included keyboard shortcuts for viewing.
  • Space - displays a random lolcat
  • Right - displays the next lolcat (numerically from my library)
  • Left - displays the previous lolcat (numerically from my library)
  • Down - displays the last lolcat viewed (chronologically)
  • Up - displays the next lolcat viewed (chronologically)
  • Q - quit the program
Due to the fact that each lolcat image is not the same size, I wrote a method to auto-scale each image. The method decrements the width of each image, and each time it does that, it multiplies the image's height by the ratio of the new width to the original width. I then switched the appropriate variables and redid this for the height.
    My friends recommend that I add a rating system; perhaps that will find its way into a future version. 

    Thingaweek #1 - lolcat Viewer

    I will try to find a way that I can post the source code so people can download and try it.

    Enjoy!

    Sunday, July 18, 2010

    Thingaweek

    Right now I'm in the "limbo-land" of figuring out what the main topic of my blog will be, so I've decided to create a challenge in order to make myself post. I'm going to make something each week and write about it. I will call my project "thingaweek".

    Here's to hoping that I follow it...

    Wednesday, July 7, 2010

    Vibram Four Fingers!

    Vibram Five Fingers

    My pair of Vibram Five Fingers finally arrived! I ordered them back in May and it took a month (of being on backorder) for them to come.

    I have two webbed twos on each of my feet, so when ordering the shoes I was a bit apprehensive on whether they would fit me. After a quick google search I found this page which described how to cut open two of the toe-pockets and sew them together. I followed the tutorial and the shoes came out very well. I even did a 2 mile test run and the stitches didn't show any strain.

    Vibram Four Fingers

    Even though it's scary to take a pair of scissor to a new pair of shoes, I'd say that this hack is definitely worth doing for people with webbed toes.