Package blend_demo

Demonstrates how to make blends of seamless tiles. More...


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)


Detailed Description

Demonstrates how to make blends of seamless tiles.


Function Documentation

def blend_demo.add_ramp (   grid,
  ramp_height 
)

Adds a planar ramp to the given image.

Definition at line 64 of file blend_demo.py.

def blend_demo.blend_corners (   grid,
  corner_colors,
  amount 
)

Blends an image with colours - one for each corner.

Definition at line 13 of file blend_demo.py.

def blend_demo.blend_corners_demo (  ) 

Shows altering an images colours.

Definition at line 175 of file blend_demo.py.

def blend_demo.blend_demo4 (  ) 

Shows four images blended together.

Definition at line 136 of file blend_demo.py.

def blend_demo.blend_mask_demo (  ) 

Definition at line 96 of file blend_demo.py.

def blend_demo.make_perlin_ramp_images (  ) 

Makes a Perlin ramp that can be used as a blend mask.

Definition at line 75 of file blend_demo.py.

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.


Variable Documentation

tuple blend_demo.WHITE = (1, 1, 1, 1)

Definition at line 10 of file blend_demo.py.


Generated on Sun May 24 21:48:21 2009 by  doxygen 1.5.8