Painless 2D vector graphics, animations and simulations.
See the codeGloss hides the pain of drawing simple vector graphics behind a nice data type and a few display functions.
Getting something on the screen is as easy as:
import Graphics.Gloss
main = display (InWindow "Nice Window" (200, 200) (10, 10)) white (Circle 80)
Explore and run the example projects using stack:
$ stack setup
$ stack build
$ stack exec gloss-boids
Once the window is open you can use the following:
Quit
Move Viewport
Zoom Viewport
Rotate Viewport
Reset Viewport
As Gloss is now fairly stable, I typically make releases only when there is a new GHC version. If you have added a new feature or fixed a bug, and want your pull request merged sooner than that, then send email to benl AT ouroborus.net. I don't pay attention to github notifications, but am happy to receive emails from people. If you have changed any internal functionality then please test that all the gloss-examples still work before submitting your pull request.
If you just want to bump a dependency version then get a Hackage trustee to edit the package information directly on Hackage. You don't need to raise a pull request here.
Haskell
94.6%
C
5.4%
Painless 2D vector graphics, animations and simulations.
See the codeGloss hides the pain of drawing simple vector graphics behind a nice data type and a few display functions.
Getting something on the screen is as easy as:
import Graphics.Gloss
main = display (InWindow "Nice Window" (200, 200) (10, 10)) white (Circle 80)
Explore and run the example projects using stack:
$ stack setup
$ stack build
$ stack exec gloss-boids
Once the window is open you can use the following:
Quit
Move Viewport
Zoom Viewport
Rotate Viewport
Reset Viewport
As Gloss is now fairly stable, I typically make releases only when there is a new GHC version. If you have added a new feature or fixed a bug, and want your pull request merged sooner than that, then send email to benl AT ouroborus.net. I don't pay attention to github notifications, but am happy to receive emails from people. If you have changed any internal functionality then please test that all the gloss-examples still work before submitting your pull request.
If you just want to bump a dependency version then get a Hackage trustee to edit the package information directly on Hackage. You don't need to raise a pull request here.
Haskell
94.6%
C
5.4%