@foone I've been working on this sort of thing for years for my PAL modulator / demodulator idea. not quite down to the magnetics & phosphor physics side because OOF, but certainly the way the deflector coils are driven with the resettable ramp oscillators triggered by hblank/vblank.
@foone I do want to get into the gubbins of how the Trinitron phosphor system works at some point so I can emulate the ghosting / saturation effects and specific details of how that interacts with partially-faulty coil drive electronics, but that's a fairly hefty task.
@foone I actually suspect that much of it can be modelled with a basic hysteresis curve, but digging up enough detailed information to get a physically correct model (or at least one that's close enough to be a perceptual match) is tricky.
@gsuberland @foone for the faulty coil bit, suspect it misaligns one of the electron guns giving you a single colour shift
@evilstevie @foone for obvious reasons the secret sauce in the phosphors and their exact performance specs were trade secrets at the time.
@evilstevie @foone yup, that's mostly the mechanics of it. unfortunately the hard bit is figuring out how to model the charge integration to luminosity (and spectral power density if you want to really nail it) output across each phosphor, and the hysteretic properties. fundamentally it's "just" a population of excitation states with a simple first-order model, but unfortunately the material properties aren't quite as simple in practice, and there's little info out there to reference.