Untitled
unknown
plain_text
a year ago
2.4 kB
4
Indexable
import matplotlib.pyplot as plt import matplotlib.patches as patches def create_logo_1(): fig, ax = plt.subplots(figsize=(6, 6)) ax.set_xlim(0, 10) ax.set_ylim(0, 10) ax.axis('off') # Central Symbol network_circle = plt.Circle((5, 5), 1.5, color='black', fill=False, lw=2) ax.add_patch(network_circle) # Quadrants icons = ['👤', '🏛️', '⚙️', '🌐'] positions = [(3, 7), (7, 7), (3, 3), (7, 3)] for icon, pos in zip(icons, positions): ax.text(pos[0], pos[1], icon, fontsize=30, ha='center', va='center') # Text ax.text(5, 1, "Smart Bangladesh", fontsize=18, ha='center', va='center', fontweight='bold') plt.show() def create_logo_2(): fig, ax = plt.subplots(figsize=(6, 6)) ax.set_xlim(0, 10) ax.set_ylim(0, 10) ax.axis('off') # Main Shape emblem_circle = plt.Circle((5, 5), 3.5, color='black', fill=False, lw=2) ax.add_patch(emblem_circle) # Central Icon ax.text(5, 5, '📍', fontsize=50, ha='center', va='center') # Surrounding Icons icons = ['🎓', '📱', '📊', '👥'] positions = [(5, 8.5), (8.5, 5), (5, 1.5), (1.5, 5)] for icon, pos in zip(icons, positions): ax.text(pos[0], pos[1], icon, fontsize=30, ha='center', va='center') # Text ax.text(5, 0.5, "Smart Bangladesh", fontsize=18, ha='center', va='center', fontweight='bold') ax.text(5, 9.5, "Empowering the Future", fontsize=12, ha='center', va='center', style='italic') plt.show() def create_logo_3(): fig, ax = plt.subplots(figsize=(6, 6)) ax.set_xlim(0, 10) ax.set_ylim(0, 10) ax.axis('off') # Central Element eye_ellipse = patches.Ellipse((5, 5), 6, 3, edgecolor='black', facecolor='none', lw=2) ax.add_patch(eye_ellipse) # Rays rays = ['💡', '✔️', '📈', '🤝'] positions = [(5, 7.5), (8, 5), (5, 2.5), (2, 5)] for ray, pos in zip(rays, positions): ax.text(pos[0], pos[1], ray, fontsize=30, ha='center', va='center') # Text ax.text(5, 0.5, "Smart Bangladesh", fontsize=18, ha='center', va='center', fontweight='bold') ax.text(5, 9.5, "Innovating Together", fontsize=12, ha='center', va='center', style='italic') plt.show() # Create the three sample logos create_logo_1() create_logo_2() create_logo_3()
Editor is loading...
Leave a Comment