pixel: maze.io/x/pixel/pixeleffect Index | Files

package pixeleffect

import "maze.io/x/pixel/pixeleffect"

Index

Package Files

fade.go

func DitherStep Uses

func DitherStep(im pixel.Image, step int)

func FadeOutDiagonal Uses

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

func FadeOutDither Uses

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 Uses

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

FadeOutVertical draws horizontal raster lines to fade out the image.

func FadeOutShift Uses

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 Uses

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

FadeOutVertical draws vertical raster lines to fade out the image.

func ShiftRight Uses

func ShiftRight(im pixel.Image)

Package pixeleffect imports 5 packages (graph). Updated 2020-07-19. Refresh now. Tools for package owners.