back to programming

Platonic Wireframes


This program will draw a 2 dimensional projection of a wireframe shape. It is possible to view any of the Platonic solids, alter their size, rotate and translate them.

platonic wireframes screenshot

How it works

No 3D graphics engine or hardware acceleration is used. All lines are drawn to the screen as 2D lines. Vertices are represented by 3 dimensional vectors which are transformed to a 2 dimensional space using the mathematical concept of projective geometry. The vertices of the objects are rotated by applying a 3x3 rotation matrix to each vertex.


Windows 98 or later, Linux with WINE.



Source code (C++ Borland Builder5.0 project)

back to programming