Hacker Newsnew | past | comments | ask | show | jobs | submit | disconcision's commentslogin

i have a basic html version working with solid, using basically the FLIP technique to get the measurements. dunno in what form we might try to release it though, its a bit awkward to generalize over existing frameworks


an author here (andrew). down to answer questions though it might be a bit until i get to them


All I have to say is thank you for doing this! This is truly super cool. It’s a rare kind of gem to see thoughtful work like this in our new AI era.


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.


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


Perfect answer - thank you


Out of curiosity, does your library support physical springs for animation between states? That’d be a great touch.


so far the library is history-independent wrt transitions, which is a nice simplification but does preclude more physics-y interactions.


so a comment right above yours asks a question I'm curious about too, and I wish that person asked you, so I'm copying it here:

--- Does this also work when the search space becomes large? I fear this might lead to an exponential blowup.

(The examples shown are all tiny) ---


there's a small section on perf in the paper (under implementation). the current implementation has poor asymptotic behavior when there are lots of reachable states. this is somewhat intrinsic to the approach. we've talked about various ideas for better behavior in a lot of common cases, but i think that ultimately for cases with more than a few hundred reachable states, a bespoke implementation may be the way to go


Very cool demo! One idea I had in the back of my mind is extending grammar of graphics for interactive visualisations. What you did might be a good way how to approach this! Did you think about doing something like this btw.?


Andrew, thanks for answering questions here. edflsafoiewq's reading of the twisted trees above (take the barycentric coordinates of the cursor between three drop states, then interpolate the UI) is the core of Tom Ngo's Embedded Constraint Graphics (ECG), which I worked on with Tom and Golan Levin at Interval Research in the 1990s (US patent 5933150, expired 2016).

I described ECG on HN just after the patent expired in 2016, when G9.js came up, which jy14898 linked above. Golan drew the faces for his Mouther in the ECG editor, by dragging the eyes and mouth around:

https://news.ycombinator.com/item?id=12572696

In ECG the states are drawn examples at the vertices of simplices, glued along shared faces into a simplicial complex. The state is a point in one simplex, and its barycentric coordinates are the blend weights. You drag any point on the blended picture, the pseudoinverse of the Jacobian turns the drag into a change of weights, and at a boundary the state crosses into the neighboring simplex.

A few parts of that might plug into Dragology: continuous blends between states instead of snapping to the nearest one, several handles held at once (the multitouch case in your limitations section), pinned points, and a complex that says which states may blend, so the author supplies a few examples instead of enumerating every reachable state. Your speculative renders could be the examples: render each candidate state, read off the positions, and that list of numbers is an ECG example.

I just put up an MIT licensed reimplementation with live demos. It starts with a talking face after Golan's Mouther (1995), builds the engine up from two pictures, then points it at a 3D head you turn by the nose, ARKit blendshape coefficients, and window layouts. Beside each drawing it shows the weights, a map of the state space, and the shape of the matrix the solver inverts.

ECG: The Whole Story (live demos):

https://hyperties.org/read/ecg/the-whole-story/

Source, no runtime dependencies:

https://github.com/SimHacker/WillWrightShowForFood/tree/main...

My notes on the limitations in section 9 of your paper and earlier work on each:

https://github.com/SimHacker/WillWrightShowForFood/blob/main...


very cool, thanks for putting this together... will dig into these notes


i maintain a codebase that uses Bonzai (https://github.com/hazelgrove/hazel/); agent based development works just fine, though probably a bit more token churn


not exactly the same, but worth noting that in a spectacular display of being too early, microsoft shipped this 30 years ago (active desktop in 1997 merged the windows explorer with internet explorer, turning folders into web pages).


It is despised for the same reason web based UI is despised today. Firefox OS was also “too early” and failed.


It was more despised for being a gaping security hole than anything else, as I recall - the things you could do with it were really neat demos, but even back then, I said "I am not loading a random website that can access local things every time I log in".


i assert that by your evidentiary standards humans don't reason.

presumably one of us is wrong.

therefore, humans don't reason.


all three are isomorphic. but in some languages if you define a function via something like `function myFun(x: Int, y: Bool) = ...` and also have some value `let a: (Int, Bool) = (1, true)` it doesn't mean you can call `myFun(a)`. because a parameter list is treated by the language as a different kind of construct than a tuple.


speed of plane is about 3% speed of satellite so i wouldn't expect handoffs to be much more frequent than with stationary receivers?


I see, stationary receiver already has to deal with this and plane speed doesn’t add much to the equation cause satellites already go brr.

Honestly that wasn’t intuitive in my head but makes a lot of sense, thanks!


we had nearly 2 centuries of roughly exponential growth. ended in the 60s but not everyone got the memo


Is "roughly exponential growth" being used as a synonym for "growth"?

Exponential is used as a scare word. It's not just growth, it's exponential growth! Run and scream in fright! Because if you don't do what I say you must do, we are exponentially doomed. Dooooomed!


I've done enough computer science work to be afraid of exponential growth.


i can't speak for everyone, but in the above assertion am using 'roughly exponential' to mean that world population between say 1880 and 1960 followed a curve that is, roughly, exponential, in the technical sense. much of the discourse 50 years ago, e.g. the population bomb, was predicated on this observation.


Rough is doing heavy lifting there, so much so that I suggest it doesn't have any meaning except to say the population was growing. The growth from 1980 to 1960 certainly was not exponential: the percentage growth per year was all over the place, varying on the same time scale as the doubling time (or even faster).

https://ourworldindata.org/cdn-cgi/imagedelivery/qLq-8BTgXU8...

I suspect it's not a coincidence that the population bomb scare occurred right after the collapse of European colonialism, although teasing out the causation could be interesting.


> so no operator precedence seems like a massive foot-gun

how do you mean? given that spec, ambiguous code just won't compile. that could potentially be inefficient, but not a foot gun.


not obvious to me this makes things better as opposed to worse? sure, the time bound helps but in the runup to a crunch won't we get vastly more devices in causal range at an asymptotically increasing rate?


Who’s there doing the counting? I would assume the temperatures at those extremes won’t support life in its known forms.

Perhaps some Adamesque (as in douglas adams) creature whose sole purpose is to collect all unique UUIDs and give them names.


Runup to the crunch is a looong time lots of which is probably very habitable. in 5 billion years life can arise from scratch become conscious and exterminate itself


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: