Functions | |
| def | blend_corners |
| Blends an image with colours - one for each corner. | |
| def | multiply_corners |
| Multiplies an image with colours - one for each corner. | |
| def | make_perlin_tiles |
| Makes Perlin tiles used for creating perlin ramp blend masks. | |
| def | add_ramp |
| Adds a planar ramp to the given image. | |
| def | make_perlin_ramp_images |
| Makes a Perlin ramp that can be used as a blend mask. | |
| def | blend_mask_demo |
| def | quilt_demo |
| def | blend_demo4 |
| Shows four images blended together. | |
| def | blend_corners_demo |
| Shows altering an images colours. | |
Variables | |
| tuple | WHITE = (1, 1, 1, 1) |
| def blend_demo.add_ramp | ( | grid, | ||
| ramp_height | ||||
| ) |
| def blend_demo.blend_corners | ( | grid, | ||
| corner_colors, | ||||
| amount | ||||
| ) |
| def blend_demo.blend_corners_demo | ( | ) |
| def blend_demo.blend_demo4 | ( | ) |
| def blend_demo.blend_mask_demo | ( | ) |
Definition at line 96 of file blend_demo.py.
| def blend_demo.make_perlin_ramp_images | ( | ) |
| def blend_demo.make_perlin_tiles | ( | width, | ||
| height | ||||
| ) |
Makes Perlin tiles used for creating perlin ramp blend masks.
Definition at line 58 of file blend_demo.py.
| def blend_demo.multiply_corners | ( | grid, | ||
| corner_colors, | ||||
| amount | ||||
| ) |
Multiplies an image with colours - one for each corner.
Definition at line 33 of file blend_demo.py.
| def blend_demo.quilt_demo | ( | ) |
Definition at line 122 of file blend_demo.py.
| tuple blend_demo.WHITE = (1, 1, 1, 1) |
Definition at line 10 of file blend_demo.py.
1.5.8