2d

module
v0.0.0-...-225857b Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2025 License: BSD-3-Clause

README

2d

2d is a composable collection of utility packages for 2D graphics.

Everything under the ebiten directory depends on the Ebiten game engine and is designed to work with it. Everything else can be used in more general contexts.

See the documentation for each package.

Compatibility

This repository's packages are experimental. Their APIs may change at any time.

Contributing

I'm not accepting contributions at this time.

Disclaimer

This project has the Go license, but this project is neither an official Google product nor an official Go package. I just work on the Go team and it's the easiest way to cover my work. I do not work on this as part of my job, this is purely a hobby project. Do not expect support. I may respond to issues and PRs, but do not expect me to. This is for fun.

Directories

Path Synopsis
Package anim contains primitives for animation.
Package anim contains primitives for animation.
Package chroma provides implementations of colors and color palettes.
Package chroma provides implementations of colors and color palettes.
ebiten
font
Package font is a lightweight wrapper around the Ebiten fonts API of the github.com/hajimehoshi/ebiten/v2/text/v2 package.
Package font is a lightweight wrapper around the Ebiten fonts API of the github.com/hajimehoshi/ebiten/v2/text/v2 package.
graphics
Package graphics provides vector graphics drawing utilities.
Package graphics provides vector graphics drawing utilities.
scene
Package scene provides a simple scene multiplexer for Ebitengine games.
Package scene provides a simple scene multiplexer for Ebitengine games.
text
Package text is a wrapper around the text rendering API part of github.com/hajimehoshi/ebiten/v2/text/v2.
Package text is a wrapper around the text rendering API part of github.com/hajimehoshi/ebiten/v2/text/v2.
tile
Package tile implements simple tile-based rendering and animation primitives.
Package tile implements simple tile-based rendering and animation primitives.
Package geom provides 2D geometric primitives.
Package geom provides 2D geometric primitives.
Package tween provides primitives useful for [tweening].
Package tween provides primitives useful for [tweening].

Jump to

Keyboard shortcuts

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