-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create a sample photo set #26
Comments
So currently I've invented in my had a small algorithm to split rectangle on a list of random rectangles. At first I had in mind simple one (which is still a backup plan):
But I don't like the limitation of rectangle splitting. Because is too clumsy. It looks like you hack each rectandles on two parts every time. Which is too obvious. So my algorithm is next:
With this algorithm it is possible to draw something like:
Which is not possible with first algorithm. Moreover second one extend the first one in terms of number of possibilities |
Finally I've implemented first algorithm. For the second one will explicitly create a new task |
#31 - is a task for enhancement collage generating algorithm |
Currently we have just an "infinite" list of images with a same items, but more interesting, to see, how it works on other view structures.
Let's create a custom view, that fits entire screen and contains itself a random grid of images with different sizes and positions (since we have no information about images, provided by api, to make it more appropriate)
The text was updated successfully, but these errors were encountered: