- import matplotlib.pyplot as plt
- # Define the dimensions of the poster
- width = 16
- height = 12
- # Create a new figure
- fig, ax = plt.subplots(figsize=(width, height))
- # Set the background color
- ax.set_facecolor('black')
- # Create a circle to represent the head
- head_center = (width / 2, height / 2)
- head_radius = 4
- head_color = 'gray'
- head = plt.Circle(xy=head_center, radius=head_radius, color=head_color)
- ax.add_patch(head)
- # Create lines to represent the handicaps
- handicap_color = 'red'
- handicap_width = 2
- # Handcuffs on the wrists
- handcuff_left_center = (head_center[0] - head_radius / 2, head_center[1] - head_radius)
- handcuff_right_center = (head_center[0] + head_radius / 2, head_center[1] - head_radius)
- handcuff_length = 2 * head_radius
- handcuff_left = plt.Line2D((head_center[0], handcuff_left_center[0]), (head_center[1], handcuff_left_center[1]), color=handicap_color, linewidth=handicap_width)
- handcuff_right = plt.Line2D((head_center[0], handcuff_right_center[0]), (head_center[1], handcuff_right_center[1]), color=handicap_color, linewidth=handicap_width)
- ax.add_line(handcuff_left)
- ax.add_line(handcuff_right)
- # Leg weights
- leg_weight_center = (head_center[0], head_center[1] - head_radius - head_radius / 2)
- leg_weight_radius = head_radius / 3
- leg_weight_color = 'gray'
- leg_weight = plt.Circle(xy=leg_weight_center, radius=leg_weight_radius, color=leg_weight_color)
- ax.add_patch(leg_weight)
- # Text overlay
- text_color = 'white'
- text_font_size = 24
- text_position = (head_center[0], head_center[1] + head_radius / 2)
- text = "Mediocrity Reigns"
- ax.text(text_position[0], text_position[1], text, ha='center', va='center', color=text_color, fontsize=text_font_size)
- # Remove axes and ticks
- ax.axis('off')
- ax.tick_params(bottom=False, left=False, labelbottom=False, labelleft=False)
- # Save the poster as an image
- plt.savefig('mediocrity_reigns.png', bbox_inches='tight')
[text] POSTER
Viewer
*** This page was generated with the meta tag "noindex, nofollow". This happened because you selected this option before saving or the system detected it as spam. This means that this page will never get into the search engines and the search bot will not crawl it. There is nothing to worry about, you can still share it with anyone.
Editor
You can edit this paste and save as new: