Posted by Nikolaus Gradwohl
Sun, 26 Apr 2009 07:50:00 GMT
no system or programming language should be without it's 2 minute timer for all those GTD followers out there.
so i made one in mobile.processing.
the programm starts a 120 sec countdown and sends the app in background. After 2 minutes the vibration alarm
is activated for 1 second.
i made a qr-barcode that contains the link to the jad file. just point a qrcode reader like zxing to it and install it
you can also use the direct link http://www.local-guru.net/mobileprocessing/twominutetimer/midlet/twominutetimer.jad (but i think it is a bit complicated to enter on a mobile phone)
Read more...
Tags gtd, j2me, mobilephone, processing | 1 comment | no trackbacks
Tweet This!
Posted by Nikolaus Gradwohl
Sun, 26 Apr 2009 06:14:00 GMT
a while ago i made an abstract art generator in processing. Now i made another one, drawing lines
click here to generate some images.
Tags art, processing | 3 comments | no trackbacks
Tweet This!
Posted by Nikolaus Gradwohl
Fri, 24 Apr 2009 02:25:00 GMT
for my monstergallery and my pencil drawings i needed a tool that generates the preview icons for me.
so i made a gimp script that can be run in batchmode.
The following scheme script defines a function named imagescale which takes a file pattern (like '' or '.png')
and a width as paramter. the function iterates over the file list, opens each file fetches the
original width and height and calculates the new image height so that the image proportions are preserved.
than the image is scaled and saved as a new file by adding "icon-" as a prefix to the filename.
the function can be called in gimp batch mode with the following command
gimp -b '(imagescale "*" 100)' -b '(gimp-quit 0)'
put the script in your ~/.gimp-2.6/scripts folder
(define (imagescale pattern width)
(let* ((filelist (cadr (file-glob pattern 1))))
(while (not (null? filelist))
(let* ((filename (car filelist))
(image (car (gimp-file-load RUN-NONINTERACTIVE filename filename)))
(drawable (car (gimp-image-get-active-layer image)))
(original-w (car (gimp-image-width image )))
(original-h (car (gimp-image-height image )))
(height (* original-h ( / width original-w ))) )
(gimp-image-scale image width height)
(gimp-file-save RUN-NONINTERACTIVE image drawable
(string-append "icon-" filename) (string-append "icon-" filename))
(gimp-image-delete image))
(set! filelist (cdr filelist)))))
Tags gimp, scheme | no comments | no trackbacks
Tweet This!
Posted by Nikolaus Gradwohl
Tue, 21 Apr 2009 02:47:00 GMT

Tags gameboy, nintendo | no comments | no trackbacks
Tweet This!
Posted by Nikolaus Gradwohl
Tue, 21 Apr 2009 02:23:00 GMT
Computer are very well suited for boring and repetitive work. I can't imagine anything more repetetive and boring
than counting sheep. so i made a processing sketch that does it for me.
click here if you want to let your computer count some sheep
for you.
of course the sheep counter is a long int

Tags processing | 2 comments | no trackbacks
Tweet This!
Posted by Nikolaus Gradwohl
Sun, 19 Apr 2009 17:03:00 GMT
I also made another gallery showing some
pencil drawings i made.
Tags art | no comments | no trackbacks
Tweet This!
Posted by Nikolaus Gradwohl
Sun, 19 Apr 2009 16:55:00 GMT
I just made a gallery of all the monster images i have collected
so far. click here to have a look or use the link
in the menu. I will add new monsters as i find them
i used the really nice lightbox2 javascript framework for the gallery
Tags monster | no comments | no trackbacks
Tweet This!
Posted by Nikolaus Gradwohl
Sun, 19 Apr 2009 08:32:00 GMT
i just installed a little ikea lamp on my wife's desk. no problem so far, the only thing that's really wierd
is that the switch of the lamp is next to the power supply. to use it she would have to crawl under the desk
and use the switch :-( - NSF

therefore i installed a sis-pm silvershield from gembird (which has 4 sockets that are switchabel via usb) and sispmctl and wrote a simple applescript program.
now she can simply click on the script in the menu to turn the litght on/off :-)
Read more...
Tags applescript, macos, sispmctl | no comments | no trackbacks
Tweet This!
Posted by Nikolaus Gradwohl
Tue, 14 Apr 2009 03:14:00 GMT
i just wrote a cocoa frontend for my ruby osc sequencer using vvosc.

this is a simple tutorial to show how i got my vvosc app running. i'm neither a
xcode nor objective-c expert - so be gentle if there are some mistakes, or there
is a simpler more xcody way to do it :-)
Read more...
Tags c, cocoa, objective, osc, vvosc | no comments | no trackbacks
Tweet This!
Posted by Nikolaus Gradwohl
Mon, 13 Apr 2009 19:44:00 GMT
here comes another completly useless processing sketch by me
this time starring bubbles
ok, it's not that useless i changed the transparency of the bubbles according to the speed
so slower bubbles seem to be more distant from the viewer than faster ones.
this generates a nice and simple parallax effect.

Tags processing | no comments | no trackbacks
Tweet This!