Module: Vissen::Output

Defined in:
lib/vissen/output.rb,
lib/vissen/output/color.rb,
lib/vissen/output/error.rb,
lib/vissen/output/pixel.rb,
lib/vissen/output/point.rb,
lib/vissen/output/vixel.rb,
lib/vissen/output/buffer.rb,
lib/vissen/output/filter.rb,
lib/vissen/output/context.rb,
lib/vissen/output/palette.rb,
lib/vissen/output/version.rb,
lib/vissen/output/palettes.rb,
lib/vissen/output/vixel_stack.rb,
lib/vissen/output/context/grid.rb,
lib/vissen/output/filter/gamma.rb,
lib/vissen/output/pixel_buffer.rb,
lib/vissen/output/vixel_buffer.rb,
lib/vissen/output/context/cloud.rb,
lib/vissen/output/context_error.rb,
lib/vissen/output/context/circle.rb,
lib/vissen/output/filter/quantizer.rb

Overview

The main job of the output module is to transform a multi layered collection of ‘Vixel` objects, a `VixelBuffer`, into a single layered collection of `Pixel`objects, a `PixelBuffer`.

Defined Under Namespace

Modules: Buffer, Context, Filter Classes: Color, ContextError, Error, Palette, Pixel, PixelBuffer, Point, Vixel, VixelBuffer, VixelStack

Constant Summary collapse

VERSION =

The Vissen Output library version number.

'0.7.0'
PALETTES =

Default palette collection.

{
  'Argon'      => [0x03001e, 0x7303c0, 0xec38bc, 0xfdeff9],
  'Red Sunset' => [0x355c7d, 0x6c5b7b, 0xc06c84],
  'Quepal'     => [0x11998e, 0x38ef7d]
}.map { |l, c| Palette.new(*c, label: l) }.freeze