PLEASE SOLVE THIS IN PYTHON 3: "Your custom random shapes". Based on the previous example, create your own random painti
Posted: Fri Jul 01, 2022 5:39 am
PLEASE SOLVE THIS IN PYTHON 3:
"Your custom random shapes". Based on the previous example,create your own random painting. You must include minimum 3different shapes (circle, rectangle, line, etc.) and applyrandomness for colors and shapes.
The output must look similar to this:
Previous example talked about in the question: Generating randomdots (shown below)
O
import random from graphics import * Graphwin ("Drawing Fun", 200, 200) #random generation of points and colors for num in range (1,100): randomX1 = random.randrange (0, 200) randomy1 = random.randrange (0, 200) win = pt5 = Point (randomX1, randomY1) pt5.draw (win) Drawing Fun X
"Your custom random shapes". Based on the previous example,create your own random painting. You must include minimum 3different shapes (circle, rectangle, line, etc.) and applyrandomness for colors and shapes.
The output must look similar to this:
Previous example talked about in the question: Generating randomdots (shown below)
O
import random from graphics import * Graphwin ("Drawing Fun", 200, 200) #random generation of points and colors for num in range (1,100): randomX1 = random.randrange (0, 200) randomy1 = random.randrange (0, 200) win = pt5 = Point (randomX1, randomY1) pt5.draw (win) Drawing Fun X