brick
gloss
brick | gloss | |
---|---|---|
9 | 5 | |
1,622 | 404 | |
0.6% | 0.5% | |
9.5 | 0.0 | |
10 days ago | 7 months ago | |
Haskell | Haskell | |
BSD 3-clause "New" or "Revised" License | MIT License |
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.
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.
-
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.
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.
What are some alternatives?
implicit - A math-inspired CAD program in haskell. CSG, bevels, and shells; 2D & 3D geometry; 2D gcode generation...
OpenGL - Haskell bindings to OpenGL
reanimate - Haskell library for building declarative animations based on SVG graphics
nanovg - NanoVG Haskell bindings
plot-light - A lightweight plotting library, exporting to SVG
Chart - A 2D charting library for haskell
splines - B-Splines, other splines, and NURBS in Haskell.
pcf-font - PCF font parsing and rendering library.
Rasterific - A drawing engine in Haskell
blank-canvas - A Haskell API into HTML5 Canvas
clay - A CSS preprocessor as embedded Haskell.
GLUT - Haskell bindings to GLUT