I got it to run. All it took was removing a stupid mistake I made in the code...
The random pattern it shows is created by computing a random integer and using the modulo operation to check for each LED wether to light up or not. I use two 74hc573 so I only need 8 data lines instead of 16 per layer.
Here is the completed working code for a random pattern. Nothing special, not efficient or fast at all. But it needed to be done quick since it's a gift for my fathers birthday which is now...
Haha, that's because they are. I have no idea what they are called. I got them like 5 years ago from my father when we cleaned our old hobby room. And he propably got them when he was young. I can' even read the label of the bag anymore :)
They look kinda like some I inherited from my grandfather, except the can is gold plated on those. I can read the label but haven't been able to identify them anyway.
What kind of LEDs(?) did you use here, they kinda look ancient :)