hylide-0.1.4.1: WebGL renderer for livecoding shaders with Hylogen

Safe HaskellNone
LanguageHaskell2010

Hylogen.WithHylide.Core

Synopsis

Documentation

uv :: Vec2 Source #

Pixel coordinates

(0, 0) is the lower left corner

(1, 1) is the upper right corner

uvN :: Vec2 Source #

Pixel coordinates

(0, 0) is the center of the screen

(1, 1) is the upper right corner

time :: Vec1 Source #

Time in milliseconds since start of Hylide instance

resolution :: Vec2 Source #

Resolution of the screen

mouse :: Vec2 Source #

Mouse position

audio :: Vec4 Source #

Intensity of audio input, split into 4 bands

(low, low-mid, mid, high)

backBuffer :: Texture Source #

The last rendered frame, as a texture