end0tknr's kipple - web写経開発

太宰府天満宮の狛犬って、妙にカワイイ

2022-10-10から1日間の記事一覧

shapely for python で作成したpolygonをmesh化し、matplotlib で 3D表示

shapelyによるpolygon作成や、numpyによる座標変換(affine変換)、 mpl_toolkits.mplot3d.art3dによる3D表示の練習です。 # coding: utf-8 import numpy as np # cf. https://shapely.readthedocs.io/en/stable/manual.html from shapely.geometry import Pol…