Liking cljdoc? Tell your friends :D

artlib.color.palettes

This namespace contains an implementation of procedural periodic color palettes. It is based on a Inigo Quilez article from 1999.

A color palette is simply a unary function that accepts an input value and returns an RGB vec. As the input runs from 0 to 1 (normalized palette index), the palette oscilates.

See https://iquilezles.org/articles/palettes/

This namespace contains an implementation of procedural 
  periodic color palettes. It is based on a Inigo Quilez
  article from 1999.

A color palette is simply a unary function that accepts an
  input value and returns an RGB vec. As the input runs 
  from 0 to 1 (normalized palette index), the palette
  oscilates.

See https://iquilezles.org/articles/palettes/
raw docstring

artlib.modulation

This namespace houses higher-order functions for creating modulation generators. A modulation generator is a function hat accepts timing information and returns a value between 0.0 and 1.0. Think an ADSR Envelope.

Supplied values should be considered durations and not instances.

The returned modulation generators expect inputs relative to their lifecycle, not relative to the start of the application. I.e. pass a diff from when the event happens, not the event time.

Time units are in milliseconds.

This namespace houses higher-order functions for creating
  modulation generators. A modulation generator is a function
  hat accepts timing information and returns a value between
  0.0 and 1.0. Think an ADSR Envelope. 

Supplied values should be considered durations and not
  instances.

The returned modulation generators expect inputs relative to 
  their lifecycle, not relative to the start of the application.
  I.e. pass a diff from when the event happens, not the event 
  time.

Time units are in milliseconds.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close