gloss
brick
Our great sponsors
gloss | brick | |
---|---|---|
5 | 9 | |
392 | 1,561 | |
- | - | |
0.0 | 8.0 | |
over 1 year ago | about 1 month ago | |
Haskell | Haskell | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
gloss
-
About Gloss
That Picture type is what does all the heavy lifting. Have you read its Haddocks already? There's an example using play in gloss-examples if it helps you (it just renders the most recent event as text on the screen). When I was new to Haskell and gloss, I found "following the types" helped. There's only a limited amount of things you can do with Picture, and those limitations can help guide you.
-
Are there more elegant languages for generative art and creative coding?
Haskell is the purest of the pure, and a fun language. Never done graphics with it but I see Gloss looks decent - https://github.com/benl23x5/gloss.
-
Can't install WxHaskell on Windows
If you just want to draw stuff on a window, then have a look at gloss (a very simple yet useful interface to OpenGL) and sdl2 (which gives bindings to the SDL library).
-
Using gloss on Windows
This question is in the gloss FAQ:
-
Best beginner-friendly 2D library
Ideally, I'd like something like gloss in Haskell.
brick
-
Show HN: Text Lambda, a versatile notebook for your personal data
Thank you!
"stash", the initial MVP version, is written in Haskell. I chose Haskell mostly because of https://github.com/jtdaugherty/brick, which is a wonderful TUI library. I also tend to prefer functional programming languages when I have the choice.
However, Text 's backend and website are currently implemented in Clojure. The app is in C + Flutter (Dart).
-
brick-tabular-list has been improved infinitely.
Brick? Hadn’t heard of it so leaving for myself and others
- Brick: A declarative Unix terminal UI library written in Haskell
-
How can I move from a basic hello world/number program to something more substantial?
Brick is a great library for terminal applications. I’d say start with the examples or take a look at some tutorials that use it, then just go at it.
-
A simple tui to launch gzdoom mods
Thanks. Yeah I was surprised myself at how much of a capable tool whiptail turned out to be. Especially since I'd heard it has issues with returning values, or not being as capable as dialog. I was actually in the midst of choosing between it, Haskell's brick, or python's PromptToolkit, yet settled on whiptail to see how far a bash approach could take me.
-
wordle - Wordle clone in the terminal
Written in Haskell with brick.
-
FINAL CUT alternatives - brick, notcurses, FTXUI, blessed, and ansi-styles-python
22 projects | 5 Sep 2021
A declarative Unix terminal UI programming library written in Haskell (by jtdaugherty)
-
Writing Programs with Ncurses
There is brick[1][2] for Haskell. Other languages may have something similar.
[1] https://hackage.haskell.org/package/brick
[2] https://github.com/jtdaugherty/brick/blob/master/docs/samtay...
-
If you could change one thing about Emacs what would it be?
In that vein, a declarative way to build (Text) UI like html+css. Or something along the lines of what Brick is for terminals.
What are some alternatives?
OpenGL - Haskell bindings to OpenGL
TuiCss - Text-based user interface CSS library
nanovg - NanoVG Haskell bindings
reanimate - Haskell library for building declarative animations based on SVG graphics
GLUT - Haskell bindings to GLUT
implicit - A math-inspired CAD program in haskell. CSG, bevels, and shells; 2D & 3D geometry; 2D gcode generation...
Rasterific - A drawing engine in Haskell
plot-light - A lightweight plotting library, exporting to SVG
pcf-font - PCF font parsing and rendering library.
Chart - A 2D charting library for haskell
vty-ui - A terminal user interface programming library similar to graphical interfaces such as GTK and QT. (DEPRECATED, see https://github.com/jtdaugherty/brick)