Skip to main content

Egg shapes.

Project description

eggcellent

Make excellent egg shapes.

Install

It can be installed from command - line using pip:

pip install eggcellent

Usage

Use a default egg:

from eggcellent import egg
import matplotlib.pyplot as plt
plt.scatter([0, 1], [0, 1], marker=None, verts=egg, s=200)

example1.png

Make your own egg

from eggcellent import make_egg
egg = make_egg(a=2, b=3)

The egg equation is:

r = cos(2θ) + a * cos(θ) + b

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

eggcellent-0.1.1.tar.gz (4.3 kB view hashes)

Uploaded source

Built Distribution

eggcellent-0.1.1-py3-none-any.whl (3.9 kB view hashes)

Uploaded py3

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