hylide-0.1.5.1: WebGL live-coding environment for writing shaders with Hylogen

Safe HaskellNone
LanguageHaskell2010

Hylogen.WithHylide.Core

Description

Primitives for use in Hylide

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

beat :: Vec1 Source #

Beat phase from 0 to 1

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