urbien / urbini

Urbini ideas are now part of Tradle https://github.com/tradle, see also
http://tradle.io
30 stars 5 forks source link

is it possible to model a sliding window with physics? #7

Open urbien opened 10 years ago

urbien commented 10 years ago

currently sliding window for infinite scrolling is implemented on a side of the layout manager. It is like a snake (or a worm) that is growing towards its tail while its head is being continuously trimmed as tail grows. The tail could grow a bit faster, so snake is elongated, but eventually the trimmer cuts the head. At the end of the content, the tail is cut short, so snake is at its shortest. The same procedure repeats in reverse when scrolling back. This algorithm is complex and it feels like some physical paradigm could reflect it better than a handcoded algo. Ideas?