AC voltage source - variable load
A photoresistor or a thermoresistor with a heater may work for you. Or you can try R2R ladder with small relays; this way you can achieve up to 64 levels of resistance.