Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 514 Bytes

README.md

File metadata and controls

35 lines (23 loc) · 514 Bytes

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