Declarative Dragging(declarative-dragging.github.io)
740 points by smusamashah 7 days ago | 93 comments
tl;dr: Declarative dragging lets interface authors make elements draggable by specifying which future model states a drag should reach, rather than hand-coding geometry, feedback, and animations. The system speculatively renders those candidate states, extracts element positions, and synthesizes a smooth drag-and-drop interaction automatically. The authors implemented this as Dragology, an SVG web library, and demonstrate it on math explorables, programming environments (Hazel), and games; it won Best Paper at UIST 2026.
HN Discussion:
  • ↑Enthusiastic praise for the project's coolness, timeliness, and relevance to HCI/UX exploration
  • ↑Appreciation for specific examples and insights into the underlying mathematical principles like barycentric interpolation
  • ↓Questions the novelty, citing missing prior art references like Sutherland's Sketchpad, ThingLab, and Juno
  • ~Concerns about scalability and potential exponential blowup with larger search spaces
  • •Drag-and-drop complexity illustrates how far current AI/LLMs are from true AGI-level reasoning