N95 Extreme Macro DIY Lens Hack Results

October 5th, 2009

                              
To see how I made these photos please see this post.

I have cropped and resized almost all of these pics so that they fit nicely onto this post. To get a good idea of how powerful the magnification is with this lens, first lets see the wheel on the top of the lighter:

macro-lighter

And now the centre of the same photo, just cropped, not resized:

macro-lighter1

And the tip of my BallPoint Pen:

macro-ballpoint-pen

A single character from one of our gas bills:

macro-letter

The pins on an RJ45 connector:

macro-rj45

And a close-up of the same connector’s pins:

macro-rj45-1

The individual pixels and RGB colours on my Compaq latop’s screen:

macro-lcd-pc

And the pixels on my friend’s Mac. I think it’s interesting to note here that the pixels on the Compaq have a taper on the bottom left, but on the Mac they are on the bottom right!

macro-lcd-mac

The pins on a stick of DDR400 RAM:

macro-ram

The bottom right corner of a VGA socket on my laptop:

macro-vga

And the headphones socket on the same laptop:

macro-headphone-socket

A grain of coffee:

macro-coffee

The Seeds on a piece of grass from the garden:

macro-grass

Part of the swirl on my finger print:

macro-fingerprint

The iris of my eye (I was quite surprised at how crazy this looked!):

macro-eye

A guitar string wrapped around the peg of the machine head:

macro-guitar2

And a small cropping from the same photo:

macro-guitar3

More guitar strings:

macro-guitar1

And a string on the fretboard:

macro-guitar

The tip of a key:

macro-key

One milimetre markers:

macro-mm

Here’s a shot of my white tshirt with the light from a torch shining through from the back:

macro-tshirt

And my bed sheet:

macro-sheet

A one penny coin:

macro-penny1

Another penny shot:

macro-penny

And this is the front-most part of the crown of the Queen on a penny:

macro-penny2

And that’s it for now. Let me know what you think and if you can think of any other household objects that may be interesting for me to photography and display here. If you would like to use any of the images shown here, just let me know and I’ll probably quite happily email you the full resolution images. I hope you’ve enjoyed my little venture into DIY macro photography, and if you havn’t already, check out my post on how I managed to take all these with my Nokia N95’s camera.

To see how I made these photos please see this post.

PyS60 Brain Training

September 9th, 2009

                              
I recently spotted some guys playing Nintendo DSs in a departure lounge whilst waiting for their flight. I think they were playing one of the “Brain Training” style games. I decided to knock up this little script as a very bare bones brain trainer, as entertainment for the 2.5 hour flight ahead of me.

import random
import sys
import appuifw

level = appuifw.query(u"Choose level 1 or 2", "number")

rightans = 0
wrongans = 0

while True:
    small = random.randint(1, 10)
    if level == 2:
        large = random.randint(1, 100)
    else:
        large = random.randint(1, 10)

    input = appuifw.query(u"%d x %d" % (small, large), "number")

    ans = small * large
    if input == 0:
        break
    if input == ans:
        appuifw.query(u"Correct", "query")
        rightans += 1
    else:
        appuifw.query(u"Wrong.\n ans = %d" % ans, "query")
        wrongans += 1

appuifw.query(u"You correctly answered :\n%d out of %d" % (rightans, rightans + wrongans), "query")

Nothing ground breaking here, just a little fun. The idea is that it uses appuifw.query to display randomly generated multiplication sums. Easy mode (level 1) is 2 numbers no larger than 10 and harder mode (level 2) is the same but one of the numbers is no larger than 100.

On start-up, select a level. 2 for the harder mode, any other number for the easier mode. Sums will be constantly generated until you enter the number 0 which will display a final message with your score, and then exit.

A possible candidate for a full application here, but at the moment, just a time passer for a plane journey.