Untitled
unknown
plain_text
a month ago
2.0 kB
4
Indexable
from PIL import Image, ImageDraw # Create a blank canvas for rough sketches canvas_width, canvas_height = 800, 1200 background_color = (255, 255, 240) # Light parchment tone image = Image.new("RGB", (canvas_width, canvas_height), background_color) draw = ImageDraw.Draw(image) # Rough placeholder silhouettes for the 3 poses # 1. Kneading Dough Pose draw.ellipse((100, 150, 140, 190), fill="gray") # Head draw.rectangle((110, 190, 130, 260), fill="gray") # Torso draw.line((110, 200, 90, 240), fill="gray", width=5) # Left arm draw.line((130, 200, 150, 240), fill="gray", width=5) # Right arm draw.rectangle((100, 260, 140, 340), fill="gray") # Skirt draw.line((110, 340, 110, 400), fill="gray", width=5) # Left leg draw.line((130, 340, 130, 400), fill="gray", width=5) # Right leg # 2. Side Profile Inspecting Pastry Pose x_shift = 250 draw.ellipse((100 + x_shift, 150, 140 + x_shift, 190), fill="gray") # Head draw.rectangle((110 + x_shift, 190, 130 + x_shift, 260), fill="gray") # Torso draw.line((130 + x_shift, 200, 160 + x_shift, 180), fill="gray", width=5) # Holding pastry draw.rectangle((100 + x_shift, 260, 140 + x_shift, 340), fill="gray") # Skirt draw.line((110 + x_shift, 340, 110 + x_shift, 400), fill="gray", width=5) # Left leg draw.line((130 + x_shift, 340, 130 + x_shift, 400), fill="gray", width=5) # Right leg # 3. Playful Magic Interaction Pose x_shift = 500 draw.ellipse((100 + x_shift, 130, 140 + x_shift, 170), fill="gray") # Head tilted draw.rectangle((110 + x_shift, 170, 130 + x_shift, 240), fill="gray") # Torso draw.line((120 + x_shift, 170, 160 + x_shift, 140), fill="gray", width=5) # Tossing hand draw.ellipse((165 + x_shift, 130, 175 + x_shift, 140), fill="lightgray") # Pastry in air draw.rectangle((100 + x_shift, 240, 140 + x_shift, 320), fill="gray") # Skirt draw.line((110 + x_shift, 320, 110 + x_shift, 380), fill="gray", width=5) # Left leg draw.line((130 + x_shift, 320, 135 + x_shift, 370), fill="gray", width=5) # Bent right leg # Save the rough sketches
Editor is loading...
Leave a Comment