Word Cloud

Gaming Keywords

Video game industry terminology

Output
Gaming Keywords
Python
import matplotlib.pyplot as plt
from wordcloud import WordCloud

text = """Gaming Esports Streaming Twitch YouTube Discord
FPS RPG MMORPG Battle Royale Open World Sandbox Indie AAA
PlayStation Xbox Nintendo Switch PC Steam Epic Games
Multiplayer Co-op PvP PvE Ranked Competitive Casual
Graphics Ray Tracing FPS Frame Rate Resolution 4K HDR
DLC Season Pass Microtransactions Loot Box Battle Pass
Speedrun Achievement Trophy Leaderboard Tournament LAN"""

def fire_colors(word, font_size, position, orientation, random_state=None, **kwargs):
    colors = ['#F54927', '#ef4444', '#f97316', '#F5B027', '#fbbf24']
    return colors[hash(word) % len(colors)]

wordcloud = WordCloud(
    width=1000, height=600,
    background_color='#0a0a0f',
    color_func=fire_colors,
    max_words=65,
    max_font_size=115,
    min_font_size=14,
    relative_scaling=0.6
).generate(text)

fig, ax = plt.subplots(figsize=(10, 6), facecolor='#0a0a0f')
ax.imshow(wordcloud, interpolation='bilinear')
ax.axis('off')
ax.set_title('Gaming World', color='#F54927', fontsize=16, fontweight='bold', pad=10)
plt.tight_layout(pad=1)
plt.show()
Library

Matplotlib

Category

Text Visualization

Did this help you?

Support PyLucid to keep it free & growing

Support