Commit c13a8d5a by sikang

update script

parent 9217187b
...@@ -27,7 +27,7 @@ def draw_bg(bg_path,logo_path,top_path,output): ...@@ -27,7 +27,7 @@ def draw_bg(bg_path,logo_path,top_path,output):
top_h = random.randint(0,1400) top_h = random.randint(0,1400)
text_index = random.randint(0,len(text)-1) text_index = random.randint(0,len(text)-1)
while abs(logo_h - text_h) < 300 or abs(top_h - text_h) < 400: while abs(logo_h - text_h) < 400 or abs(top_h - text_h) < 400:
logo_h = random.randint(0,1400) logo_h = random.randint(0,1400)
top_h = random.randint(0,1400) top_h = random.randint(0,1400)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment