Home Other Apps Contact Developer


MIT License - Copyright (c) 2022 Andrew Garcia, PhD

Ever wanted to draw simple 3-D voxel models from numpy arrays? Now you can do that with voxelmap!
Voxelmap is a Python library which streamlines matplotlib's Axes3D.voxels by assigning each integer in an array to a voxel.

pip install voxelmap    # install for the first time
pip install --upgrade voxelmap    # upgrade to newest version (recommended)

Due to the many dependencies for this package, it is recommended to run voxelmap using a virtualenv virtual environment. To do so, follow the below simple protocol to create the virtual environment, run it, and install the package there:

virtualenv venv
source venv/bin/activate
pip install voxelmap
python [your-voxelmap-script.py]

To exit the virtual environment, simply type deactivate. To access it at any other time again, enter with the above source venv... command.

Copy/Paste Script Examples

Click on the images below for their Python source code.

Want to learn more?

Check out the Colab notebook below, which makes a nice tutorial:

Thanks! 🙌

Top Supporters


Other relevant links:

voxelmap on Github
voxelmap on the Python Package Index (PyPI)

voxelmap on Github


A Python library for making voxel models from NumPy arrays.

Sponsor tiers

$10 a month

  • Your name will be added to the "Supporter" section of this page AND to that of the thanks page.

$30 a month

  • Your name will be added to the "Top Supporter" section of this page AND to that of the thanks page.
  • Logo or name goes in the README of any one of this Github project

Sponsor with BTC

Bitcoin (BTC) is a secure and anonymous digital currency. If you'd like to support me, my independent software, or any of my open-source projects at Github You can send BTC to the following address:

If you'd like to make your contribution public, send me the amount and date you made your contribution to my Twitter or LinkedIn and I'll add you to the sponsor list according to the described sponsor tiers above.