printf("this is a %lx binary.\n",*(long*)getpagesize());
CocoaHedron   about | donate | downloads | screenshots | technique

about


platform OS X
type screen saver
language C and Objective-C
version CocoaHedron 1.01
last update 2008.05.13
download latest
author folkert

this screen saver draws two interlocked recursive tetrahedrons. each recursive tetrahedron contains four smaller recursive tetrahedrons at its edges. the relative size, distance and rotation of the descendants changes according to a sine function, the parameters of which can be set interactively. the standalone application can be used to control the settings for the screen saver.

donate


if you like our software, feel free to send us a postcard (or, of course, money, hardware, or chocolate ;) from your corner of the world. we get a kick out of knowing that our stuff actually is getting used by other people =)
folkert snailmail | patrick snailmail

downloads


CocoaHedron 1.01 screen saver + application [disk image]. Universal Binary, finally.
CocoaHedron 1.01 xcode3 source [tarball]
CocoaHedron 1.0 xcode source [tarball]
CocoaHedron 1.0 screen saver + application [disk image]

screenshots


technique


in order to enhance performance, i rewrote the core routines, using display lists aggressively [the recursive structure basically demanded such an approach]. unfortunately, a recursion depth of six or more still looks like a slide show on my 666 MHz powerbook. the outline effect was accomplished by a neat little trick which involves disabling the zbuffer and drawing each tetrahedron four times more.

all rights [r] belong to us.