twmr / cypoissondisk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Poisson Disk Points Generator

This project wraps the C++ Poisson Disk Generator by Sergey Kosarevsky in Python using Cython. For examples see test_poisson.py.

Compilation

python setup.py build_ext -i

Run unit tests

pytest
pytest --interactive  # unskip interactive tests (matplotlib plots are
shown)
pytest --nocapturelog -s  # shows the log output
pytest test_poisson.py::TestPoisson::test_4_plot --interactive  # run a single test

About

License:MIT License


Languages

Language:Python 55.9%Language:C++ 44.1%