1. Home
  2. Design tools
  3. Linkage builder
On this page
  1. How to use
  2. What the diagnoses mean
  3. Example: Watt six-bar linkage
  4. Curved slots and 3 or more inputs
  5. What this page does not cover
  6. How the values are calculated

The linkage builder of linkages: connect points and links, then check whether they move

Place points, connect them with links (rigid bars), and fix one of the points to create a planar linkage. Choose a link to rotate, and the calculation diagnoses whether it moves, does not move, or needs more input. If it moves, the experiment shows its range of motion.

DiagnosisMoves / does not moveAlso shows when input is insufficient or assembly is not possible
InputsUp to 5Link angle, point x, y, or diagonal push
SlidingStraight or curvedCurved slots are fixed to the ground
Watt six-bar example7 points, 7 linksMoves with 1 input
How degrees of freedom are foundJacobian matrixBased on rank, not a counting formula

Try mechanisms such as four-bar and six-bar linkages by simply entering values in the table.

Build and move a linkage

Build and move a linkageAssembled linkage. Orange marks the rotating link, the ground symbol marks fixed points, and the orange dotted line shows the selected point's path.O2ABO4P

Example of a four-bar linkage. Enable JavaScript to edit the points and links and set the mechanism in motion.

DiagnosticsCan move: the rotating link completes a full revolution
Points, links, fixed points5 points, 5 links, 2 fixed points
Calculated degrees of freedom1
Redundant constraints0
Points (coordinates in mm)
NamexyFixedDelete
O2
A
B
O4
P
Links (rigid bars connecting 2 points; length from current coordinates)
Point 1Point 2Length (mm)Delete
40.0
107.7
80.0
92.2
50.0
Sliding (point moves along a straight line)

The point moves only along the straight line through two points. If both points are fixed, this is a slider guide; if they are on a moving link, this is a slot in the link. Place the point on the line initially.

Sliding pointLine point 1Line point 2Delete
Curved slots (fixed to ground; point moves along curve)

The point moves only along a smooth curve (cubic spline) through the specified points. Enter 3 or more curve points as “x,y; x,y; …”. Select “Close” to make a loop. An open slot stops at both ends. Place the point on the curve initially (select “Snap point to slot” to move it to the nearest location).

Point moving in slotPoints on curve (mm, x,y; x,y; …)CloseDelete

How to use

  1. Start with an example Click one of “Four-bar linkage,” “Watt six-bar linkage,” “Five-bar linkage,” or “Triangle” to fill in the point and link tables. Other mechanisms on this site, such as straight-line mechanisms and Jansen's linkages, are available from the parts library.
  2. Edit the points Change the coordinates (mm) in the point table, and mark the points fixed to the ground as “Fixed.” Add points with “Add point.”
  3. Edit the links Choose the two points to connect in the link table. The link length is the distance between the two points at their current coordinates.
  4. Choose an input and a point to trace Choose an input from link angle, pushing a point along x or y, or pushing a point in a diagonal direction. The diagnosis appears, and if the mechanism moves, you can move it with “Play.”
  5. Check for plate interference In “Check plate interference,” enter the plate width and pin radius, then click “Check” to see how many layers can be used to arrange the plates without collisions over the full motion. Choose the layer for each plate yourself and click “Check at these layers” to see which plates collide and at what input values.
  6. Save Use “Save model (JSON)” to save the mechanism you built to a file and load it later (Saving and exporting).

Rules for building mechanisms

  • Triangular platesConnecting 3 points with 3 links makes a rigid triangular plate (a link with 3 joints). If the 3 points lie in a straight line, they are treated as a straight bar with 3 holes (the middle point is fixed on the line of the bar).
  • Choosing inputsThe usual approach is to rotate a link connected to a fixed point. Enter the direction for a diagonal push in the “Diagonal push direction” field, as an angle from the x-axis.
  • Mechanisms that need 2 inputsSelect a second input and set its value to move the mechanism with the first input.
  • Counting interferenceCheck layer arrangements after making the mechanism movable. Count a triangle as 1 plate.

To check example mechanisms in diagrams, use the Link width and layer interference page.

What the diagnoses mean

DisplayMeaningExample
Can moveThe number of inputs matches the mechanism's degrees of freedom. Shows whether the link being rotated makes a full revolution or the range of motionFour-bar linkage, Watt six-bar linkage
Not enough inputSome points cannot be fully determined with just 1 rotating link (degrees of freedom are 2 or more)Five-bar linkage
Does not move (structure)No points can move (degrees of freedom 0)Triangle
Cannot be assembledThe link lengths are inconsistent, so the loop cannot close—

Degrees of freedom are found from the rank of the Jacobian matrix, which describes how the constraint equations change, rather than from a counting formula. This allows the calculation to correctly handle mechanisms that a counting formula would classify as immovable, such as a parallelogram made by adding a parallel link (Degrees of freedom of mechanisms).

Example: Watt six-bar linkage

Extend the output link of a four-bar linkage into a triangular plate, then connect another pair of links to its corner. This makes a six-bar linkage consisting of 6 links, including the ground link.

  • ConfigurationThis example is built from 7 points and 7 bars. The triangular plate is represented by 3 bars.
  • MotionThis is a 1-degree-of-freedom mechanism whose motion is determined by 1 input. When the crank makes a full revolution, the end point moves in a way that a four-bar linkage alone cannot produce.

Curved slots and 3 or more inputs

Curved slots (fixed to the ground)

A point moves only along a smooth curve that passes through the specified points. The curve is a cubic spline, with continuous position, direction, and curvature. A closed slot forms a loop, while an open slot ends at both ends.

3 or more inputs

For mechanisms with 3 or more degrees of freedom, such as an arm with 3 joints, set and hold the values for the second input onward, then move the first input. Up to 5 inputs are available.

  • Moving around a closed slotPut the end of a crank and bar into a bean-shaped closed slot, and the crank makes a full revolution while the end of the bar travels once around the slot.
  • Stopping at the end of an open slotWith the same mechanism, make the slot a short curve with 3 points. The mechanism stops when the end of the bar reaches the end of the slot (in this example, from -89° to 50°).
  • Arm with 3 jointsWith 2 inputs (holding at 36.9°), the diagnosis says “1 more input is needed.” Add a third input (holding at -33.7°) to make it move.

After editing the slot points, if a point is no longer on the slot, use “Snap point to slot” to move it onto the nearest part of the curve.

What this page does not cover

  • This page supports planar linkages connected by pin joints (revolute joints), sliding joints (prismatic joints) where a point moves along a straight line (fixed guides and slots in moving links), curved slots fixed to the ground, and up to 5 inputs (link angle, point x or y, or a diagonal push on a point).
  • Curved slots must be fixed to the ground. Curved slots on moving links are not supported (for a circular arc, placing a point at the center of the circle and connecting it with a link gives the same motion).
  • Slot width, clearance, and contact between pins and slots are not included. Points move along the centerline of the slot.
  • If there is more than 1 diagonal-push input, they all use the same direction. Inputs are not moved simultaneously; the second and later inputs are held while the first moves.
  • The calculation covers planar rigid-body kinematics. Forces and strength are not computed.
  • Link interference checks are limited to reporting the number of layers (plate thickness, pin heads, and frame shape are not considered). To check in diagrams, use the Link width and layer interference page.
  • The range of motion is checked by moving the rotating link in 1° increments and finding the positions where the mechanism can be assembled. At a pose where two assembly configurations meet, as in a parallelogram (a change point), the mechanism passes through on the side that continues its motion so far (the angle at which it passes through is shown).
  • At other singular poses or angles where the mechanism cannot be assembled, it stops.

How the values are calculated

The built mechanism is passed to a general-purpose constraint solver (Newton's method and singular value decomposition) as a set of point, fixed-position, and distance constraints. The solver finds the degrees of freedom and redundant constraints, and diagnoses whether the mechanism can be assembled with the input applied. During motion, the input is changed in 1° increments, and the solution is recalculated from the previous pose. When building this page, we checked the diagnoses for all 4 examples and verified that saved models can be loaded back into the same table. The calculation engine version is 0.1.0.

Published November 21, 2026, updated November 24, 2026. By JIT株式会社; every number is computed by the site's kinematics engine.