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


コメント

このブログの人気の投稿

【完結】ランニング、お食事 2022年5月~2022年12月

ランニング、グルメ、ドライブ 2023年4月〜

ランニング、グルメ、クライム 2023年7月〜