4 ms·
The name is a bit close to “ncurses”. Also a screenshot early on would be helpful to illustrate what it can be used for.
by pimlottc 3y ago
The name is a bit close to “ncurses”. Also a screenshot early on would be helpful to illustrate what it can be used for.
- schaefer 3y agoThere is a screenshot [1]. [1]: https://raw.githubusercontent.com/dankamongmen/notcurses/gh-pages/notcurses-info.png https://raw.githubusercontent.com/dankamongmen/notcurses/gh-...
- pimlottc 3y agoYes, but that’s both fairly far down the page and not really a good example of what an actually application might look like
- db48x 3y agoThe api is lower–level than that. It is very similar to ncurses which just gives you a primitive window; a rectangular subsection of the screen that can be scrolled independently of the rest. It doesn’t give you a bunch of UI widgets like buttons and checkboxes that can be conveniently shown off in screenshots. You can build a whole TUI without ever even using those windows, because in a lot of UIs the content of the windows don’t need to scroll. (And of course there’s all that stuff about colors, and notcurses adds functions for rendering bitmaps and videos into windows that ncurses doesn’t have.)
- deleted 3y ago[deleted]
- maxbond 3y agoHere's some examples of pixel art made with the framework. https://nick-black.com/dankwiki/index.php/File:Notcurses-1.0.0-chunli.png https://nick-black.com/dankwiki/index.php/File:Notcurses-1.0... https://nick-black.com/dankwiki/index.php/File:Pixel-orca.png https://nick-black.com/dankwiki/index.php/File:Pixel-orca.pn... Very impressive.
- wyldfire 3y agoAre those dots just like a density map/gradient? Or are they real symbols / characters?
- torgoguys 3y agoUnicode braille symbols
- agadius 3y agoThere’s also a yt video showing a demo that can be run after installing notcurses: https://www.youtube.com/watch?v=dcjkezf1ARY https://www.youtube.com/watch?v=dcjkezf1ARY Pretty hefty.
- ilaksh 3y agoIs it able to show actual videos or is that just to make the demo more interesting and inserted externally? I would like to combine something like this with https://github.com/runvnc/tersenet https://github.com/runvnc/tersenet or some of those ideas.
- db48x 3y agoIt can show actual videos using the Sixel protocol. You already have terminals that support it too. Just run `xterm -ti 340`. In that terminal, run an application such as Gnuplot: gnuplot -e "set terminal sixelgd;set hidden3d;set view 62, 30, 1.1, 1.2;set samples 50, 50;set isosamples 51;set contour base;set cntrparam order 8;set cntrparam bspline;splot [-12:12.01] [-12:12.01] 2*sin(sqrt(x**2+y**2)) / sqrt(x**2+y**2)+x/53+y/37"
- zamadatix 3y agoThe link at the starting of the second sentence "Things can be done with Notcurses that simply can't be done with NCURSES." does more justice for what it can do than any screenshots would.
- ape4 3y ago"ncurses" is pretty close to the original "curses" https://en.wikipedia.org/wiki/Curses_(programming_library) https://en.wikipedia.org/wiki/Curses_(programming_library)