Take a disk on a shaft. Use a ratcheting mechanism on the shaft so that it can only rotate in one direction. Attach permanent magnets around the rim of the disk.
Attach more permanent magnets to bimetallic strips positioned outside the rim of the disk. Near each bimetallic strip place a resistor.
The angular spacing of the bimetallic strips and magnets around the outside of the rim should not be that same as that of the magnets on the rim.
Turn the disk by moving one or more of the outer magnets closer to the rim to create asymmetrical torque on the disk. You move the outer magnets by using the resistors to heat the their bimetallic strips. You move an out magnet back to its original position by letting it cool back down.