Smooth transition between functions with tanh()

The problem to get a smooth transition between two curves appears very often. I had this problem a lot when working with simulations of DAE systems where some parameters were defined by empiric functions that did not fit well at the intersection point. An approach that is very easy to implement is the use of…


WP Theme changed

Same content, other appearance! The wordpress theme JS O3 lite didn’t work anymore, maybe because of some plugin updates. I don’t have much time to fix it or search a new, so I choosed the journalist theme that looks simple and nice. It’s a little bit technical and not as elegant as the old theme,…


Polygon | 2.0.3 & 3.0.3

Versions 2.0.3 and 3.0.3 of this python package have been released today. Both branches 2.0.x (for python 2.x, x>=5) and 3.0.3 (for python 3.x)  will be in sync in the future with identical features and an  almost identical API. For 2.0.3 only one new function (tileBSP()) was added. Have a look here for more information….


Reading Arexx TL-500 with Python on Linux – Part II

My first script was changed a little bit to get nicer output. It can now log the raw data received from the Arexx unit (in hexadecimal form) and uses separate log files for the sensors. Sensor numbers can be mapped to other names using a dictionary. I use two TL-3TSN, one TSN-50E (long range) and…


Using KDE’s kwallet with Firefox/Iceweasel

Konqueror is a good browser, but sometimes you need to use Firefox (called Iceweasel on Debian). I discovered a plugin to let FF store its passwords in kwallet, but after installation of the plugin all passwords were gone. Fortunately you can disable the plugin and the old passwords are still there. So if you want…


Reading data from the Arexx TL-500 on Linux

Some days ago I was looking for a temperature monitoring solution for some rooms and 19″-racks at the university. The Arexx TL-500 looked promising and I bought it. Unfortunately there are only Windows drivers available. But some people already analyzed the communication protocol and hacked a simple version of a linux driver: http://www.algorithm-forge.com/techblog/2010/01/linux-usb-driver-for-the-arexx-tl-500-part-ii/ There’s even…


processing | poor man’s evolution

This is an example from my generative design class of the digi-pro project. Note: these processing sketches are based on java, the execution in your browser may be restricted or even blocked completely. Please review the security settings of your browser and your java installation if you don’t see the sketches. You need to include…


processing | Koch-curve

This is another small demo from my generative design class of the digi-pro project. It draws a Koch curve using a recursive algorithm at variable depth. The horizontal mouse position is used for the depth value. By pressing the p-key you may toggle the drawing of small point markers. The c-key will export the points…