Your browser does not support the canvas tag.


This Sketch is made to illustrate proportional control
the white triangle simulates the angle of a motor (Process Variable - this would be the feedback of a real life system provided by a potentiometer for example)
The red line is used to visualise the set point
Click the left mouse button to create a new set point at the angle you clicked at.

You can also simulate friction by using the button in the top left corner.

The system will then use proportional control to get the motor's angle to match the set point's angle

Built with Processing and Processing.js