Skip to content

arb9p4/voxel-shapes

Repository files navigation

Voxel Shape Library

The voxel shape library (VSL) is a collection of MATLAB functions and plotting routines to help generate 3D voxel images of various shapes in different configurations. The library supports modifying the resolution, scale, translation, rotation, and threshold sharpness of the objects. The following types of shapes are implemented:

Ellipsoid

ellipsoid

Cuboid

cuboid

Cylinder

cylinder

Cone

cone

Torus

torus

Usage

This code has been tested to run with MATLAB 2016a and later. The following example scripts show how to use the library functions.

  • example_create_basic_shapes.m - Shows how to create and plot basic 3D voxel shapes
  • example_create_basic_shapes_with_noise.m - Shows how to create and plot basic 3D voxel shapes with value noise
  • example_create_shape_dataset.m - Shows how to create and plot a dataset of 3D voxel shapes
  • example_create_shape_mosaic.m - Creates a mosaic of example 3D shapes using random parameter configurations

mosaic

About

A library for creating voxel shapes and experimenting with 3D features

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages