Oops.!I'll make an anime picture of a cat。but、I can't make images


Oops.!I'll make an anime picture of a cat。but、I can't make images、Let's write some code。 ```python import Random import turtle # Screen settings = turtle.Screen() screen.bgFarbe("light blue") # Cat face drawing = turtle.Turtle() face.penup() face.Goto(0, 100) face.pendown() face.begin_fill() face.Farbe("pink") face.circle(100) face.end_fill() # Eye drawing_radius = 15 face.penup() face.Goto(-40, 130) face.pendown() face.begin_fill() face.Farbe("white") face.circle(eye_radius) face.end_fill() face.penup() face.Goto(40, 130) face.pendown() face.begin_fill() face.circle(eye_radius) face.end_fill() # Nose drawingface.penup() face.Goto(0, 100) face.pendown() face.begin_fill() face.Farbe("black") face.circle(10) face.end_fill() # Mouth drawing_radius = 50 mouth_angle = Random.uniform(0, 360) face.penup() face.Goto(math.cos(math.radians(mouth_angle)) * mouth_radius, math.Without(math.radians(mouth_angle)) * mouth_radius) face.pendown() face.Farbe("black") face.circle(30, 180) turtle.done() ``` Now you can draw a cute cat face.!Run the code and let me know the results?If it goes well, let's celebrate together! I used this information as a reference。 Use Leeton > https://wrtn.jpimport Random import turtle import math # Import math module # Screen settings = turtle.Screen() screen.bgFarbe("light blue") # Cat face drawing = turtle.Turtle() face.penup() face.Goto(0, 100) face.pendown() face.begin_fill() face.Farbe("pink") face.circle(100) face.end_fill() # Eye drawing_radius = 15 face.penup() face.Goto(-40, 130) face.pendown() face.begin_fill() face.Farbe("white") face.circle(eye_radius) face.end_fill() face.penup() face.Goto(40, 130) face.pendown() face.begin_fill() face.circle(eye_radius) face.end_fill() # Nose drawingface.penup() face.Goto(0, 100) face.pendown() face.begin_fill() face.Farbe("black") face.circle(10) face.end_fill() # Mouth drawing_radius = 50 # Choosing a safe angle、It is recommended to use a fixed value。 mouth_angle = 90 # for example、90度 face.penup() face.Goto(math.cos(math.radians(mouth_angle)) * mouth_radius - 50, math.Without(math.radians(mouth_angle)) * mouth_radius - 50) face.pendown() face.Farbe("black") face.circle(30, 180) turtle.
Prompts
Copy
Oops
.!
I'
;
ll make an anime picture of a cat
。
but、I can'
;
t make images、Let'
;
s write some code
。
```python
import Random
import turtle
# Screen settings = turtle
.
Screen()
screen
.
bgFarbe("light blue")
# Cat face drawing = turtle
.
Turtle()
face
.
penup()
face
.
Goto(0
,
100)
face
.
pendown()
face
.
begin_fill()
face
.
Farbe("pink")
face
.
circle(100)
face
.
end_fill()
# Eye drawing_radius = 15
face
.
penup()
face
.
Goto(-40
,
130)
face
.
pendown()
face
.
begin_fill()
face
.
Farbe("white")
face
.
circle(eye_radius)
face
.
end_fill()
face
.
penup()
face
.
Goto(40
,
130)
face
.
pendown()
face
.
begin_fill()
face
.
circle(eye_radius)
face
.
end_fill()
# Nose drawingface
.
penup()
face
.
Goto(0
,
100)
face
.
pendown()
face
.
begin_fill()
face
.
Farbe("black")
face
.
circle(10)
face
.
end_fill()
# Mouth drawing_radius = 50
mouth_angle = Random
.
uniform(0
,
360)
face
.
penup()
face
.
Goto(math
.
cos(math
.
radians(mouth_angle)) * mouth_radius
,
math
.
Without(math
.
radians(mouth_angle)) * mouth_radius)
face
.
pendown()
face
.
Farbe("black")
face
.
circle(30
,
180)
turtle
.
done()
```
Now you can draw a cute cat face
.!
Run the code and let me know the results
?
If it goes well
,
let'
;
s celebrate together
!
I used this information as a reference
。
Use Leeton > https://wrtn
.
jpimport Random
import turtle
import math # Import math module
# Screen settings = turtle
.
Screen()
screen
.
bgFarbe("light blue")
# Cat face drawing = turtle
.
Turtle()
face
.
penup()
face
.
Goto(0
,
100)
face
.
pendown()
face
.
begin_fill()
face
.
Farbe("pink")
face
.
circle(100)
face
.
end_fill()
# Eye drawing_radius = 15
face
.
penup()
face
.
Goto(-40
,
130)
face
.
pendown()
face
.
begin_fill()
face
.
Farbe("white")
face
.
circle(eye_radius)
face
.
end_fill()
face
.
penup()
face
.
Goto(40
,
130)
face
.
pendown()
face
.
begin_fill()
face
.
circle(eye_radius)
face
.
end_fill()
# Nose drawingface
.
penup()
face
.
Goto(0
,
100)
face
.
pendown()
face
.
begin_fill()
face
.
Farbe("black")
face
.
circle(10)
face
.
end_fill()
# Mouth drawing_radius = 50
# Choosing a safe angle、It is recommended to use a fixed value
。
mouth_angle = 90 # for example、90度
face
.
penup()
face
.
Goto(math
.
cos(math
.
radians(mouth_angle)) * mouth_radius - 50
,
math
.
Without(math
.
radians(mouth_angle)) * mouth_radius - 50)
face
.
pendown()
face
.
Farbe("black")
face
.
circle(30
,
180)
turtle
.
INFO
Checkpoint & LoRA

Checkpoint
yayoi_mix
#Realistic
#Photography
0 comment
0
0
0