79818201

Date: 2025-11-12 20:12:35
Score: 2.5
Natty:
Report link
from PIL import Image, ImageDraw, ImageFont
import imageio
import numpy as np

# Crear parámetros del GIF
width, height = 600, 200
frames = []
texto = "EWUDKNKDEWJDKJQWKJN WQJN WJNW NJWQ KKQJ WNJW KJJD WNJW KNJW NWKN WJJJJJJJJJ QDK"
font_size = 20

# Intentar cargar una fuente
try:
    font = ImageFont.truetype("arial.ttf", font_size)
except:
    font = ImageFont.load_default()

# Crear 20 frames con desplazamiento aleatorio y parpadeo
for i in range(20):
    img = Image.new("RGB", (width, height), "black")
    draw = ImageDraw.Draw(img)
    
    # Añadir efecto de parpadeo
    color = (0, np.random.randint(150, 256), 0)
    
    # Añadir texto con un pequeño desplazamiento aleatorio
    offset_x = np.random.randint(-5, 5)
    offset_y = np.random.randint(-5, 5)
    draw.text((10+offset_x, 80+offset_y), texto, font=font, fill=color)
    
    frames.append(np.array(img))

# Guardar GIF
imageio.mimsave("alien_code.gif", frames, duration=0.15)

print("GIF creado: alien_code.gif"
Reasons:
  • Blacklisted phrase (2): Crear
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: kjdsbackj