craiyon logo

A smiling rat wearing a graduation cap teaches a class of diverse children in a bright classroom, pointing to a chalkboard that reads "RATS rats are smart! rats con climb rats are clean."

A smiling rat wearing a graduation cap teaches a class of diverse children in a bright classroom, pointing to a chalkboard that reads "RATS rats are smart! rats con climb rats are clean."

from PIL import Image, ImageDraw, ImageFont import textwrap # Initialize fonts (fallback if needed) try: font_title = ImageFont.truetype("DejaVuSans-Bold.ttf", 40) font_body = ImageFont.truetype("DejaVuSans.ttf", 24) font_quote = ImageFont.truetype("DejaVuSans-Oblique.ttf", 22) badge_title_font = ImageFont.truetype("DejaVuSans-Bold.ttf", 28) badge_font = ImageFont.truetype("DejaVuSans.ttf", 20) except IOError: font_title = font_body = font_quote = badge_title_font = badge_font = ImageFont.load_default() # Create Info Sheet Image info_img = Image.new("RGB", (800, 1000), color="white") draw = ImageDraw.Draw(info_img) title_text = "🐭 Meet Miss Lyra — The Rat Educator!" body_text = ( "Hi there! My name is Miss Lyra, and I'm not just any rat—I'm a teaching rat!\n\n" "I work with my human, Alex, to help kids learn all about rats and why they’re actually smart, " "clean, and super fun to be around. I may be tiny, but I’ve got a big job: showing people that " "rats are kind, gentle, and really cool animals.\n\n" "Some people think rats are scary or dirty—but I’m here to prove them wrong! I love cuddles, snacks, " "and learning tricks. I even come when my name is called!\n\n" "Whether I’m visiting a classroom or meeting new friends at an event, I help kids learn how to treat " "all animals with kindness and respect." ) fun_facts = "🐾 Fun Facts:\n• Favorite Snack: Banana bits 🍌\n• Best Trick: Coming when called 🐀\n• Favorite Place: Snuggled in a hoodie pocket 🧥" quote = '"Being See more