Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/reiver/go-classicspace
Package classicspace provides a color palette associated with the 'classic space' toy series, for the Go programming language.
https://github.com/reiver/go-classicspace
classic-space color-palette lego
Last synced: about 2 months ago
JSON representation
Package classicspace provides a color palette associated with the 'classic space' toy series, for the Go programming language.
- Host: GitHub
- URL: https://github.com/reiver/go-classicspace
- Owner: reiver
- License: mit
- Created: 2024-02-21T06:37:34.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-02-21T06:38:49.000Z (11 months ago)
- Last Synced: 2024-06-21T14:32:47.608Z (7 months ago)
- Topics: classic-space, color-palette, lego
- Language: Go
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-classicspace
Package **classicspace** provides a color palette associated with the **classic space** toy series, for the Go programming language.
## Documention
Online documentation, which includes examples, can be found at: http://godoc.org/github.com/reiver/go-classicspace
[![GoDoc](https://godoc.org/github.com/reiver/go-classicspace?status.svg)](https://godoc.org/github.com/reiver/go-classicspace)
## Example
Here is an example:
```golang
import "github.com/reiver/go-classicspace"// ...
var bounds image.Rectangle = image.Rectangle{
Min: image.Point{0,0}
Max: image.Point{640,480}
}var img image.Image = image.NewPaletted(bounds, classicspace.Palette)
// ...
```
## Import
To import package **classicspace** use `import` code like the follownig:
```
import "github.com/reiver/go-classicspace"
```## Installation
To install package **classicspace** do the following:
```
GOPROXY=direct go get https://github.com/reiver/go-classicspace
```## Author
Package **classicspace** was written by [Charles Iliya Krempeaux](http://changelog.ca)