Turtle plotter

BaseTurtle

BaseTurtle.__init__(window_size: int = 800, reach: float = 16, speed: int = 0, machine=None, coarseness: int = 0)
Parameters

coarseness (float) – A rounding factor, in degrees, to represent the resolution of the servos.

class PantoGraphTurtle(driver: int = 8, follower: int = 8, motor_1_pos: float = - 1.5, motor_2_pos: float = 1.5, window_size: int = 800, speed: int = 0, motor_1_centre_angle: float = 0, motor_2_centre_angle: float = 0, motor_1_sweep: int = 180, motor_2_sweep: int = 180, machine=None, coarseness: int = 0)

A turtle-graphics implementation of a PantoGraph. Instantiate your PantoGraph with turtle=True to create a turtle version of it, that copies everything the PantoGraph does.

class BrachioGraphTurtle(inner_arm: float = 8, outer_arm: float = 8, window_size: int = 800, speed: int = 0, shoulder_centre_angle=0, elbow_centre_angle=90, shoulder_sweep=180, elbow_sweep=180, machine=None, coarseness: int = 0)

A turtle-graphics implementation of a BrachioGraph. Instantiate your BrachioGraph with turtle=True to create a turtle version of it, that copies everything the BrachioGraph does.