The present invention is a machine in which the repulsion and attraction forces of moving electromagnets are utilized to power a series of linkages that ultimately turn a crank. The motor is controlled by an external computer system which distributes an electric current among the electromagnets. In order to reverse the polarities of the electromagnets, the direction of the current will be rapidly changing. This polarity reverse causes electromagnets to repel and attract. The magnets then oscillate along two swing arms that once swung because of both polarity attraction and repulsion, activate the linkages.