Cursors

Rope To The Node

A real rope stretches from the cursor to the nearest node: it sags under its own weight, springs on a jerk, pulls taut and snaps if you stretch it too far.

What you can change

  • nodes — the ports: label and position in fractions of the frame
  • reach — the distance beyond which the rope snaps
  • sag — the slack: 0 gives a string, 1 a rope

A link for your AI agent: preview, code and instructions.

Preview

1440pxHost theme

Use it with AI

  1. 1. Copy the link.
  2. 2. Write to your agent in your own words and drop the link into the sentence.
  3. 3. The agent opens the link and installs the component from the registry.
AI
1Pick it here

put this on the home page as the hero:

https://vibeui.ru/c/cursor-004?lang=en&theme=dark

2Paste into the chat
3Get it in your project

Not sure where to paste it? Step-by-step guide

Show the full instructions

What the link says, spelled out. Use it when your agent cannot open links — paste this text instead.

Loading…

For developers

The install command lives in the “Component source” block below — a signed link that stays valid for 24 hours.

Technical notes

The rope is a chain of sixteen knots solved with Verlet integration: each knot remembers its previous position, the velocity follows from the difference, and the distance between neighbours is held. The constraints are relaxed six times per frame: with a single pass the chain stays rubbery and sags more than it should. The first knot is always in the hand and the last is pinned to the port while the rope holds; when the nearest node leaves the reach the link snaps and the tail flies off — vanishing without a recoil would read as a rendering glitch. The rope is drawn as one curve through the midpoints of the segments: a polyline of sixteen points would give itself away with corners. The native cursor is hidden and the end of the rope takes its place. Frames are computed only while the hand is inside the field; prefers-reduced-motion leaves the rope still. The theme comes from the surroundings through light-dark().

Tags

  • cursor
  • rope
  • verlet
  • physics
  • canvas
  • pointer
  • node-editor
  • connection
Component source

The same file your agent installs. Here in case you would rather copy it by hand.

Loading…