Python備忘録 Basic of ShapelyShapely

 Polygonで簡単なリボンを書いてみました。

#@title デフォルトのタイトル テキスト

#Import 'shapely.geometry.Point' class
from shapely.geometry import Point

points3 = []

for i in range(0,2):
    for j in range(0,2):
        points3.append((i,j))

print(points3)

ribon = Polygon(points3)

ribon


コメント

このブログの人気の投稿

DINNER, LUNCH AND DRINK from Sept. 2024

Home vegetable gardening from April, 2024

Food and Drink from April 2024