CTAN Comprehensive TeX Archive Network

Directory graphics/pgf/contrib/lua-tikz3dtools

README.md

Package Name: lua-tikz3dtools
Package Version: v1.0.0, 2025/07/13
GitHub: https://github.com/Pseudonym321/TikZ-Animations/tree/master1/TikZ/lua-tikz3dtools
Author Name: Jasper Nice

This work is licensed under the Project Public License, version 1.3c or later.

Description:
lua-tikz3dtools is a toolkit for making 3D illustrations with TikZ. It can render multiple parametric objects and labels at once, and clip planes by rectangular prisms. Eventually, I want to add triangle clipping.

Change Log:
v0.01:

  • Robust triangle sorting, rudimentary line segment sorting.
  • Division by zero handling.
  • Clipping of individual planes by rectangular prisms.
  • Geometric vector commands.

Download the contents of this package in one zip archive (507.5k).

lua-tikz3dtools – A Lua package which improves on 3D capabilities in TikZ

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 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.

The current aim of the package is to enable parametric object clipping, and to improve on the occlusion logic.

Packagelua-tikz3dtools
Repositoryhttps://github.com/Pseudonym321/TikZ-Animations/tree/master1/TikZ/lua-tikz3dtools
Version1.0.0 2025-07-13
LicensesThe Project Public License 1.3c
MaintainerJasper Nice
Contained inTeX Live as lua-tikz3dtools
TopicsLua
Graphics
3D Graphics
PGF TikZ
...
Guest Book Sitemap Contact Contact Author