Link to a tweet about "Unicorn"
[books.alexwlchan.net] / scripts / generate_bookshelf.py
index 888afb2..a4d21c1 100755 (executable)
@@ -17,7 +17,7 @@ def get_bins(total_width, min_height, max_height):
     x_coord = 0
 
     while x_coord <= total_width:
-        width = R.randint(8, 40)
+        width = R.randint(4, 28)
         height = R.randint(min_height, max_height)
 
         yield [(x_coord, 0), (x_coord + width, height)]