Oriel — AI & technology worth noticing, every day.

Declarative Dragging

Web page · https://declarative-dragging.github.io/

First seen by Oriel on .

AI summary

Declarative Dragging introduces model-driven drag-and-drop, where authors specify reachable future states and the system synthesizes responsive interactions from speculative renderings.

  • D2 renders possible future model states, extracts the dragged element’s positions, and combines them into a drag-and-drop interaction.
  • Dragology implements declarative dragging for SVG interfaces on the web, reducing geometry, feedback, and animation code.
  • Composable behaviors and modifiers support richer interactions, including floating, snapping, and transitions.
  • Demonstrations include algebra, twisted trees, Bézier curves, braids, card piles, trominoes, and synchronized permutation representations.
  • The project targets educators, game designers, mathematicians, creative tool builders, and programming-language interfaces.

#declarative dragging #dragology #svg #human-computer interaction

Generated by gpt-5.6-sol. Check the original for details.

Metric trends

Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained

Points

Score reported by the source.

  • Hacker News: 740, latest observation ; +728 over observed period since
  • Lobsters: 149, latest observation ; +148 over observed period since

Comments

Comment count reported by the source.

  • Hacker News: 93, latest observation ; +93 over observed period since
  • Lobsters: 4, latest observation ; +4 over observed period since

Aliases

SourceExternal IDURL
Hacker News50368481https://declarative-dragging.github.io/ Read discussion
Lobstersjplxxrhttps://declarative-dragging.github.io/ Read discussion