1. Home
  2. Saving and exporting data
On this page
  1. What is available on each page
  2. Share links
  3. JSON (mechanism file)
  4. CSV (calculated values)
  5. Diagrams (SVG/PNG)
  6. What this page does not cover
  7. How the examples are produced

How to save mechanism data: share links, JSON, CSV, and diagrams (SVG/PNG)

You can take the results of experiments on this site with you in 4 ways. Choose the one that suits your needs.

Share linkSame stateOpen the page again
JSONThe mechanism itselfSave and load dimensions and the range of motion
CSVCalculated valuesUse them in spreadsheets or programs
SVG/PNGDiagramInsert it into your materials

Everything is created in your browser and nothing is sent to a server. No account is needed.

What is available on each page

PageShare linkSave/load JSONCSVSVG/PNG
Four-bar linkage○○○○
Slider-crank mechanism○○○○
Path synthesis○ (path and selected candidates)Save only—○

Experiments on other pages can currently only be viewed on screen. To take numerical values with you, enter the same dimensions on the four-bar linkage or slider-crank mechanism page.

Share links

Click “Copy link with these values” to copy an address containing the current dimensions and angles. You can use it to reproduce the same state in class materials or when making an inquiry.

  • Not sent to the serverThe values go after the # in the address, so they are not sent to the server when you open the page.
  • When the address changesThe address does not change just by opening the page. It changes when you change a value.

JSON (mechanism file)

“Save model (JSON)” saves the mechanism type, dimensions, units, and range of motion in a single file. Use “Load model” to restore them on the same page.

The contents are in a text-only file and are never executed as a program when loaded. Below are the contents of a file actually saved with the initial four-bar linkage values.

{
  "format": "motionlinklab.mechanism",
  "schemaVersion": 1,
  "name": "four-bar linkage",
  "units": {
    "length": "mm",
    "angle": "deg"
  },
  "mechanism": {
    "kind": "fourbar",
    "o2": {
      "x": 0,
      "y": 0
    },
    "o4": {
      "x": 100,
      "y": 0
    },
    "a": 40,
    "b": 120,
    "c": 80,
    "mode": 1,
    "couplerPoint": {
      "u": 60,
      "v": 40
    }
  },
  "input": {
    "from": 0,
    "to": 360,
    "steps": 360
  }
}

The same mechanism always produces the same string, and its SHA-256 hash (with the initial values, bbbec6d86ff7e82b…) serves as a marker for the mechanism. We verify when building the page that reloading a saved file produces an exactly matching string and hash.

CSV (calculated values)

“Download CSV” exports the positions, angles, transmission angle, velocity, and acceleration at each pose in the range of motion (per 1 rad of crank angle).

Divisions in the range of motion360 equal divisionsInitial four-bar linkage values
Number of rows361 rows1 row per pose
Number of columns18 columnsPositions, angles, velocities, etc.

The initial # lines include the model hash, calculation engine version, units, assumptions (planar, rigid body, kinematics only), and calculation residuals. This lets you check later which conditions the values were calculated under. Below is the beginning of the file.

# Motion Link Lab analysis
# model_hash: bbbec6d86ff7e82bf2a1d4656e4080fef666e00f5468f98a01921eb977b1a688
# solver_version: 0.1.0
# mechanism: fourbar
# length_unit: mm
# angle_unit: deg
# decimal_separator: . (in every locale)
# d1_* and d2_* are first and second derivatives with respect to the input angle in radians
# assumptions: planar; rigid-links; ideal-joints; kinematics-only (no forces, friction, inertia, collisions or strength)
# max_residual_relative: 1.7763568394002506e-16
# completed: true
# events: none
# empty cell = the quantity is not defined at that pose (singular)
input_deg,A_x_mm,A_y_mm,B_x_mm,B_y_mm,P_x_mm,P_y_mm,coupler_angle_deg,output_angle_deg,transmission_angle_deg,d1_P_x_mm_per_rad,d1_P_y_mm_per_rad,d2_P_x_mm_per_rad2,d2_P_y_mm_per_rad2,d1_output_angle_rad_per_rad,d2_output_angle_rad_per_rad2,residual_relative,singular_0_or_1
0,40,0,136.66666666666669,71.1024300256718,64.63252332477607,67.77343723505813,36.336057514613934,62.72038726402189,26.38432974940796,45.18229149003876,23.578317783482614,-89.78106057266349,-16.00742148668384,-0.6666666666666665,1.510601077468486,0,0
1,39.99390780625565,0.6980962574913405,137.47506180181227,70.67969823754453,65.40728414401623,68.1826152460368,35.674520311302736,62.06703090542122,26.392510594118495,43.59070917696525,23.31559258781653,-92.54814196698052,-14.095005178497802,-0.6399220475919539,1.5532273459062,1.7763568394002506e-16,0
2,39.97563308076383,1.3959798681000388,138.24535220080094,70.26587390075422,66.15386129656432,68.5874999244395,35.02373916654574,61.44077569501787,26.417036528472146,41.95361009528696,23.08636702202029,-94.99595133558873,-12.172634565134405,-0.6124799305311115,1.5905053847089368,5.921189464667501e-17,0
  • Decimal point is “.”It is . regardless of the display language. When opening the file in a spreadsheet, import it with commas as the delimiters.
  • Blank cells mean “value is undefined”Cells for poses where a value is undefined, such as a singular pose, are blank (not 0).
  • Convert to values per unit timeMultiply the angular velocity ω calculated from a constant rotation speed once for velocity and twice for acceleration (Input speed and output motion).

Diagrams (SVG/PNG)

“Save diagram” exports a diagram of the pose currently displayed. The markers used to grab and move parts are not included.

SVG

This format keeps lines sharp when enlarged and can also be edited in document-creation software.

PNG

This is a standard image format.

What this page does not cover

  • Saved files remain only on your computer. They are not saved by the site, so they cannot be restored if lost.
  • CSV values are results of kinematics calculations. They do not include force, strength, or friction (Calculation limitations).

How the examples are produced

The JSON and CSV examples on this page are strings produced when the page was built, using the same functions as the download buttons (calculation engine version 0.1.0). At that time, we also verified the number of CSV rows and that the model hash and assumptions are included.

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