Word Cloud

Synthwave Retro Cloud

80s retro synthwave aesthetic word cloud

Output
Synthwave Retro Cloud
Python
import matplotlib.pyplot as plt
from wordcloud import WordCloud

text = """Synthwave Retrowave Outrun Cyberpunk Neon Arcade
VHS Cassette Vinyl Analog Retro Vintage Nostalgia 80s 1980s
Miami Vice Blade Runner Tron Grid Sunset Palm Trees Beach
DeLorean Ferrari Testarossa Lamborghini Countach Sports Car
Synth Keyboard Drum Machine Roland Jupiter Moog Analog Synth
Laser Chrome Holographic Gradient Glow Fluorescent Electric
Arcade Cabinet Pac-Man Space Invaders Donkey Kong Nintendo Atari"""

def synthwave_colors(word, font_size, position, orientation, random_state=None, **kwargs):
    colors = ['#ff00ff', '#00ffff', '#ff6ec7', '#7b68ee', '#ff1493']
    return colors[hash(word) % len(colors)]

wordcloud = WordCloud(
    width=1200, height=600,
    background_color='#1a0a2e',
    color_func=synthwave_colors,
    max_words=70,
    max_font_size=130,
    min_font_size=12,
    relative_scaling=0.5
).generate(text)

fig, ax = plt.subplots(figsize=(12, 6), facecolor='#1a0a2e')
ax.imshow(wordcloud, interpolation='bilinear')
ax.axis('off')
plt.tight_layout(pad=0)
plt.show()
Library

Matplotlib

Category

Text Visualization

Did this help you?

Support PyLucid to keep it free & growing

Support