I'm sure I'm not the first person to do this, but I just decided to.
Really this is just basic pen. It just draws the square, and then draws the lines that connect it to the point. The coordinates of the point are always half of that of the center of the square, so it looks farther away. Coming soon, a filled-in square for the pyramid. Summer break just started yesterday! Yay!