by emmanueloga_ · 4y ago · 0 comments
Would be nice to have a site, maybe a wiki, dedicated to this kind of thing.
Other interesting problems in this area:
* Layout algorithms
* Automatic assignment of keys for navigation (for nav w/o using a mouse)
* Popup menu prediction [1]
* Text breaking / paragraph layout [2]
* Etc, etc, etc ...
1: https://bjk5.com/post/44698559168/breaking-down-amazons-mega...
- Facebook (that I designed): https://blog.vjeux.com/2012/image/image-layout-algorithm-fac...
- Google Plus: https://blog.vjeux.com/2012/javascript/image-layout-algorith...
- Google Plus, finding best breaks, which also explains fancy text layout algorithm: https://blog.vjeux.com/2014/image/google-plus-layout-find-be...
- Lightbox: https://blog.vjeux.com/2012/javascript/image-layout-algorith...
- Lightbox Android: https://blog.vjeux.com/2012/javascript/image-layout-algorith...
- 500px: https://blog.vjeux.com/2012/javascript/image-layout-algorith...
I hope that’s useful!
In particular, I'm incredibly interested in layout algorithms - I'm working on building a GUI toolkit, for which I need layout algorithms to lay out widgets, but can't find anything other than descriptions of how to use existing systems...
I don't know if modern typesetting software like InDesign do solve this automatically or not. The web certainly don't (although with CSS and the "shy" Unicode char you at least get some control on the 'H' part of "H & J"). Back in my typesetting days QuarkXPress had nothing to help with rivers: you had to detect them visually and then "fudge" the paragraph a bit (by forcing a line-break or an hyphenation).
I always wondered: certainly if you start with a good H & J algorithm, it must be possible to try a few candidates and determine, programatically, which one has the least obvious rivers? Fascinating stuff IMHO.
P.S: I also wonder if it's because algorithms for layout out paragraphs are so bad on the web that justification is typically frowned upon on the Web? (it certainly rules king in printed books)
Unfortunately, I don't have a good writeup of that, but some of the details are in this ATypI talk[1].
I recall I did a Mac XPress XTension that used GUSI (sockets) to talk to a 4D server to grab artwork. I even had it multi-threading (co-operative of course) and a UI using PowerPlant. Rather a hack.