Import numpy as np import matplotlib.pyplot as plt from PIL import Image


import numpy as np import matplotlib.pyplot as plt from PIL import Image, ImageDraw, ImageFont # Set up the canvas size width, height = 800, 600 image = Image.new('RGB', (width, height), (135, 206, 250)) # Sky blue background draw = ImageDraw.Draw(image) # Define the colors roof_color = (139, 69, 19) # Brown wall_color = (255, 228, 196) # Beige window_color = (0, 0, 0) # Black door_color = (139, 69, 19) # Brown snow_color = (255, 250, 250) # White tree_color = (34, 139, 34) # Forest green mushroom_color = (255, 140, 0) # Orange cloud_color = (255, 255, 255) # White # Define the house dimensions house_width = 200 house_height = 150 roof_height = 70 # Define the landscape landscape_height = 400 tree_width = 50 tree_height = 100 tree_count = 20 mushroom_count = 10 # Draw the landscape draw.rectangle((0, height - landscape_height, width, height), fill=(34, 139, 34)) # Grass # Draw the snow draw.rectangle((0, height - landscape_height, width, height), fill=snow_color) # Draw the trees for i in range(tree_count): tree
คำพรอมต์
คัดลอกคำพรอมต์
import numpy as np
import matplotlib
.
pyplot as plt
from PIL import Image
,
ImageDraw
,
ImageFont
# Set up the canvas size
width
,
height = 800
,
600
image = Image
.
new('RGB'
,
(width
,
height)
,
(135
,
206
,
250)) # Sky blue background
draw = ImageDraw
.
Draw(image)
# Define the colors
roof_color = (139
,
69
,
19) # Brown
wall_color = (255
,
228
,
196) # Beige
window_color = (0
,
0
,
0) # Black
door_color = (139
,
69
,
19) # Brown
snow_color = (255
,
250
,
250) # White
tree_color = (34
,
139
,
34) # Forest green
mushroom_color = (255
,
140
,
0) # Orange
cloud_color = (255
,
255
,
255) # White
# Define the house dimensions
house_width = 200
house_height = 150
roof_height = 70
# Define the landscape
landscape_height = 400
tree_width = 50
tree_height = 100
tree_count = 20
mushroom_count = 10
# Draw the landscape
draw
.
rectangle((0
,
height - landscape_height
,
width
,
height)
,
fill=(34
,
139
,
34)) # Grass
# Draw the snow
draw
.
rectangle((0
,
height - landscape_height
,
width
,
height)
,
fill=snow_color)
# Draw the trees
for i in range(tree_count):
tree
ข้อมูล
Checkpoint & LoRA

Checkpoint
SeaArt Infinity
#Landscape
#Pixel
#SeaArt Infinity
0 ความคิดเห็น
0
0
0