I want to create a rhomboid like this. I can not do this I found the solution just for the diamond.
my code:
import pygame as pg
pg.init()
screen = pg.display.set_mode((500, 700))
clock = pg.time.Clock()
BG_COLOR = pg.Color('gray12')
BLUE = pg.Color('dodgerblue')
points = [(200, 200), (250, 250), (200, 300), (150, 250)]
done = False
while not done:
for event in pg.event.get():
if event.type == pg.QUIT:
done = True
screen.fill(BG_COLOR)
pg.draw.polygon(screen, BLUE, points)
pg.display.flip()
clock.tick()

Write a function that draws a rhomboid with a
with,heightand offset:If you want to draw an isometric cube, you just need to calculate the correct points and stick the cube from Rhomboids: