The CP2K logo was rendered with POV-Ray. The input for povray was generated by this python script. The source folder tools/logo contains readily rendered logos in various resolutions: