Рет қаралды 205
This is a showcase of an implementation of an algorithm I created to lay out arbitrarily sized rectangles within another rectangle. I originally wrote it in Java for entirely different reasons, but I recently rewrote it in Javascript to act as a "smart div" that attempts to lay out each of its child elements in the most visually pleasing way possible and in the minimum amount of space possible, while still retaining some semblance of order and resizing the div as needed. This is the type of thing that is hard to gauge success on because visually pleasing is subjective, but I think it's doing pretty damn well! I do think there is room for improvement, but it's basically doing what I want it to do, so I'm just posting this video to see if this is something anyone else would want to use and if it's worth trying to release a more publicly accessible version of it. I don't want to rip people off, but I would like to make at least a little bit of $$ off of it if it is something that people want to use because I'm a broke little billygoat.