ColorMatcher Processing lib
a while ago i wrote a processing sketch that allows to match some colors in a live video image.
now i translated the code into a processing library and made a project-page for it. The libray is released under the LGPL.
read more ...dns cache flushing on a mac
If you ever have to change a dns-entry and wonder for hours and hours why the changes don't appear on your mac (as you may have noticed, this article has a little autobiographic touch) - try flushing your dns cache
sudo dscacheutil -flushcache
should do the trick on leopard
read more ...oilmonster
Today another monster showed up in my frying pan - this time made of vegetable oil. i guess they are after me and want to freighten me to death - or the monster is testing new appearences because of the rising oil price - who knows ...
Surealistic Unix-commands
echo "Ceci n'est pas une pipe" | less
if you don't know why this is funny you either have no unix experience or you don't know René Magritte :-)
read more ...Fun with sine and cosine
I just played a bit with sine and cosine and got a very nice picture. the code takes some time to run, so i post a pregenerated image this time.
float r;
void setup() {
size(600,600);
smooth();
r = max( width/2, height/2) * 0.8;
noLoop();
}
void draw() {
background(0);
stroke( 255, 2 );
strokeWeight(2);
lines( 4 );
filter( BLUR, 4 );
stroke( 255, 6 );
strokeWeight(1);
lines( 2);
}
void lines( float factor ) {
for ( int j = 0; j < 360 * 10 * factor; j++ ) {
float i = j/factor;
line( width/2 - r * cos( radians( i / 2.1 )),
height/2 - r * sin( radians( i )),
width/2 - r * sin( radians ( i / 1.01 )),
height/2 - r * cos( radians( 180 - i ))
);
}
}
read more ...patching pose for Ubuntu 8.04
I recently found my old Palm IIIe in one of my "old-hardware"-boxes, and wanted to write some programs for it (coding nostalgia :-)). Unfortunately the ubuntu package is broken and every time i started it i got a "hardware exception #3"
not so funny
after some googling i found out that i'm not the only one and there is a ubuntu bugreport including a patch
i could not get the posted dsc file to work so i searched a bit and found out how to apply the patch manually
first fetch the sourcecode of the pose package
apt-get source pose
then change into the directory cd pose-3.5
and copy the download patch to debian/patches
than edit the debian/patches/00list
and append the filename of the patch (50_gcc41.dpatch)
change the version of the package using
dch -i
and buidl the deb files with
dpkg-buildpackage -rfakeroot -uc -b
then change to the parent directory and install the newly build deb files using
sudo dpkg -i pose_3.5-9.1ubuntu2_i386.deb
sudo dpkg -i pose-doc_3.5-9.1ubuntu2_all.deb
é voilà! - a working pose
read more ...Linedemo in processing.js
Todays usless processing-sketch is written in a processing dialect written in java-script. The demo shows a rotating line and uses the canvas element. So if you can't see anything try another browser.
read more ...corkmonster
They are everywhere! In every corner you can find one of them if you start looking!
This one has been found in our bathroom. Stay tuned - i report if i find anotherone :-)
meatmonster
Today i got realy scared while cooking - a meatmonster started to appear in my frying pan :-)
I guess it's a relative from the evil mango of death