Projects
 

Random stuff

Active: ??

HUI - Heroic User Interface

A GUI library I use in most programs. Today this is mostly a wrapper for GTK3.

When switching from DOS to windows programming, I was very unhappy with the windows api and MFC. Lots of code needed to be repeated and functions didn't behave intuitively. So I wrote a wrapper. Later I ported that wrapper to linux and started using GTK.

Surprisingly, GTK had a very similar philosophy to hui:

  • widgets handle their basic behavior automatically
  • events passing via callbacks
  • most actions only take 1 function to perform
  • guess default values instead of having functions with >10 parameters

I also wrote a gui designer called hui bui that can create source code. After abandoning the fixed grid philosophy of windows, that became unnecessary. Now a simple script "compiles" human writable gui definition files into a resource file for the gui program.

Curved space-time ray tracing

Meant for a bad game idea of space combat near black holes and weird topology, that I never wrote.

Using moving frame definitions to integrate the geodesics of rays. Interesting topology could be added by cutting space into a collection of tetrahedrons. Curvature in each tetrahedron is then defined via a polynomial with a small set of parameters.

Since my computers are too weak for real-time 3d ray-tracing, ...

Numerical general relativity

Really solving Einstein field equations numerically in 4d is extremely time consuming (and not very stable). On the other hand, the known analytical solutions are very "clinical", assuming a lot of symmetry.

Idea: starting from a highly artificial analytical solution and add noise. To turn this mess into a solution again, propagate away the "non-fitting" curvature in a similar process like the heat equation (very similar to "Ricci flow").

The programm ran for 2 weeks and filled a hard drive with data, that I never managed to visualize.

© by Michael Ankele 2026