iMac screen froze while in use, shutdown, restarted, got worse
Sounds like a dead graphics card. If it's really that old you'll be out of luck to get a replacement card from Apple. Ask a local service provider to be sure.

If you want to rule out software, try booting from an external drive. RAM would be a small possibility as well.