Go to the source code of this file.
Packages | |
package | random_image |
This module contains functions that can be used to generate textures. | |
Functions | |
def | random_image.random_grid |
def | random_image.corr |
Takes a grid, and returned a slighlty altered version of that grid. | |
def | random_image.corr2 |
Returns an altered copy of the given grid. | |
def | random_image.corr_window |
This function calculates the average energey in a moving (wrapped) window. | |
def | random_image.add_circle |
Function that draws a circle at a given point in a grid (no-antialiasing). | |
def | random_image.add_cone |
Function that draws a "cone" at a given point in a grid (no-antialiasing). | |
def | random_image.add_square |
Function that draws a square at a given point in a grid (no-antialiasing). | |
def | random_image.scale_lists_to_int |
Scales a set of data points (in the range 0. | |
def | random_image.samples_to_estimation_grid |
Tries to estimate a distribution from a list of sample points of that distribution. | |
def | random_image.samples_to_image |
Tries to estimate a distribution from a list of sample points of that distribution, and generates an image of that estimation. |