github.com/elgopher/pi
Package pi provides the core Pi functions for the game loop, screen, color palette, and drawing pixels, shapes, and sprites. This package and all other pi* packages are not thread-safe. This is an intentional design choice to significantly improve performance. You should not call Pi's API from any goroutine other than the one running your `pi.Update` and `pi.Draw` functions. You can still create your own goroutines in your game, but they must not call any Pi functions or access Pi state.
Ecosystem
proxy.golang.org
proxy.golang.org
Latest Release
7 months ago
v0.36.0
7 months ago
Versions
41
41
Dependent Packages
1
1
Dependent Repos
1
1
Loading...
Readme
Loading...
Links
| Registry | proxy.golang.org |
| Source | Repository |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:golang/github.com/elgopher/pi
spec |
| License | MIT |
| Namespace | github.com/elgopher |
| First Release | over 3 years ago |
| Last Synced | 9 days ago |
Repository
| Stars | 54 on GitHub |
| Forks | 0 on GitHub |
Rankings on proxy.golang.org
Dependent packages
Top 8.5%
Dependent repos
Top 4.8%