didn't really understand what I was supposed to be doing
Viewing post in Topogenus jam comments
Sorry that it wasn't clear. You're meant to draw in the surface from the colored cubes all the way to the spiky green balls. You have to join all cubes with all spikes. Here's a quick image I put together on how that's done:
Edit: You also can't cross lines, go through the surface nor have lines floating on the air.