News for hackers. Stuff that matters.
Re:Declarative Dragging by rao-v on Sunday November 08, 2026 @05:25PM (#50418072)
Someone else asked something similiar but basically, how does / should this work when candidate drop targets are many e.g. when dragging a first or second rectangle onto a page in Figma when no relationships have obviously been set.
Re:Declarative Dragging by disconcision on Sunday November 08, 2026 @09:22PM (#50420201)
not 100% sure this is what you're asking but for continuous degrees of freedom i.e. numeric model parameters we have the 'vary' operator, which is used in all our canvas-type examples. more in the paper (section 5 under the numerical optimization header). in the trivial case this allows for unconstrained positioning
Re:Declarative Dragging by rao-v on Wednesday November 11, 2026 @07:34PM (#50461209)
Perfect answer - thank you