lua-tikz3dtools

Draw properly occluded 3D parametric objects under perspective projection

Version:
2.0.1
Copyright:
License:
lppl1.3c
Packaged on:
10/13/2025 13:23:45
Number of files:
7
Size on disk:
97.76 kB

This — currently experimental — package improves on existing 3D capabilities in TikZ. In particular, the package enables z-sorting of multiple triangulated parametric objects and uses elaborate clipping and occlusion logic. The parametric objects are defined using pgfkeys, and endeavor to enable user customization. All of the 3D math is handled in Lua, and the results are projected onto the 2D TikZ canvas. The user is enabled to use linear, affine and projective transformations on their parametric objects.