Tag Archives: rotating wheel

Animate a piston driving a wheel in C#

This example draws a piston that powers a rotating wheel. The program uses a timer to move the piston. The following code shows the timer’s Tick event handler. // Move the piston. private void tmrMovePiston_Tick(object sender, EventArgs e) { X … Continue reading

Posted in algorithms, animation, drawing, graphics, multimedia | Tagged , , , , , , , , , , , , | 1 Comment

Animate two rods connected to a wheel in C#

This example draws two rods and a wheel. One rod is connected to the other and to a wheel. The second rod is connected to the first and is anchored in the middle. (I made this project because I wanted … Continue reading

Posted in algorithms, animation, graphics, mathematics | Tagged , , , , , , , , , , , | Leave a comment