For extra realism, consider incorporating Trevor Blackwell's analogtv.c source code. It's a faithful DSP simulation of late 1970s television circuitry. You can see it in action in some Xscreensaver modules.
https://github.com/AppleWin/AppleWin
http://wsxyz.net/applewin.html
You can run AppleWin on Mac and Linux using Wine.