[][src]Crate valora

A brush for generative fine art.

Re-exports

pub use self::shaders::ShaderProgram;

Modules

canvas

A painting surface.

forms

Forms.

paint

Paint trait and implementations.

path

Path types and tools.

prelude

Exhuastive set of imports for painting.

shaders

Fragment shader API.

transforms

Changes of form.

uniforms

Uniform interface for shaders.

Structs

Context

The context of the current render frame.

Gpu

A handle to the GPU for managing buffers and shaders.

Options

Command line options for a painting run.

Shader

A shader which can be used to shade paths. See ShaderProgram for construction.

World

The world in which the painting takes place.

Traits

Artist

A trait for types which paint canvases.

Functions

run

Run an artist.

run_fn

Run an artist defined by raw functions.

Type Definitions

Angle

An angle.

P2

A two dimensional point.

P3

A three dimensional point.

Program

A compiled GLSL program.

Result

A value or an error.

S2

A two dimensional size.

V2

A two dimensional vector.

V3

A three dimensional vector.