Metadata-Version: 2.1
Name: pyransame
Version: 0.2.0
Summary: PYthon RAndom SAmpling for MEshes
Author-email: Matthew Flamm <matthewhflamm0@gmail.com>
License: MIT License
Project-URL: Repository, https://github.com/MatthewFlamm/pyransame
Project-URL: Bug Tracker, https://github.com/MatthewFlamm/pyransame/issues
Project-URL: Documentation, https://matthewflamm.github.io/pyransame/
Keywords: pyvista,vtk,numpy,mesh,sample
Classifier: Programming Language :: Python :: 3
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: MIT License
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE

# pyransame
PYthon RAndom SAmpling for MEshes

[Documentation](https://matthewflamm.github.io/pyransame/)

Utilites for choosing random samples of points within cells of [PyVista](https://github.com/pyvista/pyvista) meshes.
This package does _not_ choose random points that define the mesh itself, rather random points on the 2D surface or
in the 3D volume are sampled.

## Random sampling on a 2D surface

![Samples on a bunny](/doc/_static/surface_sampling.png)

## Random sampling in a 3D volume

![Samples inside a 3D volume](/doc/_static/volume_sampling.png)
