Efficient recursive maze algorithm


I made a recursive bisecting maze algorithm in just eight lines of code. (click on above image to see it in action)


The efficiency of the algorithm comes at the cost of a fairly low entropy. It means that the randomness of the maze is limited. A high entropy algorithm could ideally produce a maze where you had to traverse every room in the labyrinth in order to move from the room in the bottom left corner to the room to it’s immediate right. This could never be the case with the above listed bisecting algorithm where internal access between rooms within the same bisection is always guarantied.


Smoothest Possible Line

I lost myself in an equation last night. Didn’t get much sleep. What’s the smoothest possible line connecting four arbitrary points? Find out for yourself by dragging the points around in the javascript program I made. Click on the picture… smooth.1

Tyrael Christmas Tree Topper


Have you ever been to Tal Rasha’s Tomb in the Canyon of the Magi? If that’s the case chances are you might have seen the character looking down at you from the top of the Christmas Tree. It’s the archangel Tyrael. He thanks you for his freedom but he expected you earlier…

For over a year I have thought about designing a Christmas tree angel in the shape of Tyrael from the computer game Diablo II.


An artists wooden mannequin, a sword shaped letter opener…


The hood required some sewing


Lots of gold paper. Care to dance?


I designed the shapes for the pieces of golden paper on the computer. This is my belt design.


We still need some better looking gloves…


Tyrael’s wings attached and we’re done.


Installed at the top of the silver fir I brought home yesterday. [click to enlarge]

Harriet Skotte


[Martin Birck] hade utan att lägga i dagen något påfallande intresse lyckats få veta hennes namn. Hon hette Harriet Skotte. Hennes far hade en egendom på landet inåt Mälaren, och hon bodde nu över vintern i Stockholm hos några släktingar för att lära sig någonting; franska eller konstvävnad eller någonting sådant… För att bli förlovad, kort sagt… (Hjalmar Söderberg, Martin Bircks ungdom)

Ja, en enkel slutledning, måhända…

Jag hittade ett kvinnoporträtt i passade stil utfört av den med Söderberg samtida engelske målaren William Henry Margetson. Nog kan man låtsas att det föreställer Harriet Skotte som i romanen fångade den unge Martin Bircks intresse. Första gången han fick syn på henne följde han efter henne ”uppåt Östermalm” där hon till sist försvann i en port.

Antiquing text

Antiquify Deva Nagari Font

I did some experimenting with different antiquing techniques or ”patination treatments” for text. I’m using Gimp  – the GNU Image Manipulation Program.

The whole idea is to be able to create pages with your own text that looks really old and weathered.

I’m writing the sanskrit verses with the Chandas devanagari southern style opentype font.

The text I wrote above is the first half of Sri Radha Pranama. (After I was done I realized that I would have liked the word ”rādhā” to be in the singular vocative case making it ”rādhe”.)

Here below are some more fruits of my efforts:

Krisna Pranama, Radha Pranama

Sri Krsna Pranama and Sri Radha Pranama

Sri Krisna Pranama, Sri Radha Pranama

Sri Krsna Pranama and Sri Radha Pranama

A good online tool for writing devanagari script is Lexilogos Multilingual Keyboard.

In another post I talked  about working with different techniques for adding scratches to photos.

PS: Different techniques for creating an impression of old age is extremely popular (and lucrative) when it comes to furniture and rugs. Certain antiquing methods applied to furniture is sometimes called distressing.

If you want to produce documents that look like typewritten pages from the first half of the 20th century I recommend downloading one of the many ”old typewriter” fonts available.

I downloaded and installed one called 1942 report from this site and created the page below:

1942 Report

This typewritten page was very easy to create since no image editing was needed whatsoever. I just downloaded an image of an old paper and used the Text Tool to write on it.