Hover the mouse around the screen to rotate polyhedra. Click buttons on the right side of the screen to change the polyhedron. マウスを動かして多面体を回転します。画面右のボタンで多面体を切り替えます。
This algorithm renders a 3D object by applying back-face culling method to triangles. This algorithm is faster than rendering them pixel by pixel, row by row, or by applying z-sorting method to triangles. My original project that renders 3D objects pixel by pixel: https://scratch.mit.edu/projects/398823781/ My second 3D project that renders 3D objects row by row: https://scratch.mit.edu/projects/403647419/ My third 3D project that renders 3D objects, applying z-sorting method to triangles: https://scratch.mit.edu/projects/406718594/ Cartesian coordinates of the vertices of Platonic solids: https://en.wikipedia.org/wiki/Platonic_solid#Cartesian_coordinates このアルゴリズムは3D物体をバックフェースカリングを用いてレンダリングします。 このアルゴリズムは、ピクセル単位や行単位でレンダリング、またZオーダー法を使ってレンダリングするよりも処理が高速になります。 私の原作(ピクセル単位でレンダリング): https://scratch.mit.edu/projects/398823781/ 私の2個目の3D作品(行単位でレンダリング): https://scratch.mit.edu/projects/403647419/ 私の3個目の3D作品(Zオーダー法を使ってレンダリング): https://scratch.mit.edu/projects/406718594/ 正多面体のデカルト座標(英語): https://en.wikipedia.org/wiki/Platonic_solid