Package draw
Contains some drawing functions.
More...
Detailed Description
Contains some drawing functions.
Function Documentation
Demos the functions in this module.
Definition at line 182 of file draw.py.
def draw.draw_circle |
( |
|
grid, |
|
|
|
centre, |
|
|
|
radius | |
|
) |
| | |
Draws a circle at a point in a grid.
Definition at line 22 of file draw.py.
def draw.draw_circle_tree |
( |
|
grid, |
|
|
|
centre, |
|
|
|
radius, |
|
|
|
levels, |
|
|
|
branches | |
|
) |
| | |
Draws a recursive circle pattern.
Definition at line 110 of file draw.py.
def draw.draw_ellipse |
( |
|
grid, |
|
|
|
centre, |
|
|
|
radius1, |
|
|
|
radius2, |
|
|
|
theta | |
|
) |
| | |
Draws an ellipse at a point in a grid.
Definition at line 38 of file draw.py.
def draw.draw_perlin_circle |
( |
|
grid, |
|
|
|
centre, |
|
|
|
radius, |
|
|
|
displacement, |
|
|
|
noise = None | |
|
) |
| | |
Draws a Perlin-noise modified circle.
Definition at line 91 of file draw.py.
def draw.draw_perlin_circle_tree |
( |
|
grid, |
|
|
|
centre, |
|
|
|
radius, |
|
|
|
levels, |
|
|
|
branches, |
|
|
|
subradius = None | |
|
) |
| | |
Draws a recursive circle pattern using Perlin-noise modified trees.
Definition at line 121 of file draw.py.
def draw.draw_perlin_ellipse |
( |
|
grid, |
|
|
|
centre, |
|
|
|
radius1, |
|
|
|
radius2, |
|
|
|
theta, |
|
|
|
displacement, |
|
|
|
noise = None | |
|
) |
| | |
def draw.draw_perlin_ellipse_tree |
( |
|
grid, |
|
|
|
centre, |
|
|
|
radius1, |
|
|
|
radius2, |
|
|
|
theta, |
|
|
|
displacement, |
|
|
|
levels, |
|
|
|
branches, |
|
|
|
innerfactor = None | |
|
) |
| | |
Draws a recursive ellipse pattern using Perlin-noise modified trees.
Definition at line 144 of file draw.py.
Variable Documentation