I got inspired by
Bento and set out to build
magic-move /
morph animations for code in presentations.
To experiment with the algorithms, I set out to build the initial implementation in Compose with Shared elements. Once I had the prototype working, I kept on polishing it, and now its a part of 2 different open source projects. One of the interesting aspects about the implementation is the
diff
algorithm I used is based on something originally invented in 1978; the algorithm is novel and takes a different approach from
Myers
/
Patience
diff.
There were so many interesting challenges along the way, so this was fun undertaking.
rahulrav.com/blog/magic_move.html
github.com/tikurahul/warp