Skip to main content

Newton Basins implementation in C++ (pybind11)

Project description

# Newton Basins C++ Implementation (pybind11)

A Python/C++ (pybind11) package to generate newton basins images.

## Installation

### From PyPI
pip install nb-cpp

### From source code

pip install git+


git clone
cd nb-cpp/
make install

## Example Usage

Just run:

import matplotlib as mpl # don't forget to `pip install matplotlib` first
import matplotlib.pyplot as plt
import nb_cpp
hsv = nb_cpp.compute(
imw=32, imh=32, # for more details, run: help(nb_py.compute)
rgb = mpl.colors.hsv_to_rgb(hsv)

## License

This project is licensed under the MIT License - see the []( file for details

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nb_cpp-0.0.5.tar.gz (2.7 MB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page