pixeleffect

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DitherStep

func DitherStep(im pixel.Image, step int)

func FadeOutDiagonal

func FadeOutDiagonal(duration time.Duration, im pixel.Image) <-chan time.Time

func FadeOutDither

func FadeOutDither(duration time.Duration, im pixel.Image) <-chan time.Time

FadeOutDither dims the colors by dithering, most useful for 1-bit bitmaps.

func FadeOutHorizontal

func FadeOutHorizontal(duration time.Duration, im pixel.Image) <-chan time.Time

FadeOutVertical draws horizontal raster lines to fade out the image.

func FadeOutShift

func FadeOutShift(duration time.Duration, im pixel.Image) <-chan time.Time

FadeOutShift dims the colors by bit shifting. 1-bit bitmaps are ignored.

func FadeOutVertical

func FadeOutVertical(duration time.Duration, im pixel.Image) <-chan time.Time

FadeOutVertical draws vertical raster lines to fade out the image.

func ShiftRight

func ShiftRight(im pixel.Image)

Types

This section is empty.

Jump to

Keyboard shortcuts

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