burnpal

package module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 3, 2024 License: BSD-3-Clause Imports: 2 Imported by: 1

README

burnpal GoDoc

A predefined palette, inspired by my old pixling program for DOS.

Features and limitations
Renders

palette

palette

palette

palette

Example use
  • See the code in cmd/generate.
General information
  • Version: 1.0.0
  • License: BSD-3
  • Author: Alexander F. Rødseth

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Pal = Palette{}/* 256 elements not displayed */

Pal is the default palette from the open source drawing program named "Burn". https://burn.sf.net/

Functions

func ColorPalette

func ColorPalette() color.Palette

ColorPalette returns the palette as a color.Palette

func GfxPalette

func GfxPalette() gfx.Palette

GfxPalette returns the palette as a gfx.Palette

Types

type Palette

type Palette []color.NRGBA

Palette is a slice of NRGBA colors

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL