starfish is simple, SDL based, 2D graphics and user input library for Go.
Clone or download
Pull request Compare This branch is 9 commits ahead, 68 commits behind gtalent:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

What is starfish?

What starfish is:

starfish is simple 2D graphics and user input library for Go.

What starfish is not:

While it is built on SDL, but unlike many SDL wrappers, it is not meant to replicate the SDL API, only leverage it. Don't expect knowledge of SDL to be beneficial when using this library.

This is done for two reasons:

  • If a better foundation comes along or SDL is no longer sufficient, it will be a simple matter to reimplement starfish with it.
  • SDL has more options than most programmers care about for simple applications. A greater number of options leads to greater complexity and a higher learning curve.

Getting starfish:


  • Install GCC, SDL, SDL_gfx, SDL_image, and SDL_ttf:
    • RHEL-like systems the following should work:

        yum install gcc SDL-devel SDL_gfx-devel SDL_image-devel SDL_ttf-devel
    • Anyone feel free to add instructions for other systems here.


  • To install starfish, the following should pull and install all three starfish packages:

      	go get
      	go get