5 ms·
Textual Paint – MS Paint in your terminal
- luciusdomitius 3y agoReminds me of AutoCAD 2.6 LOL
- ilaksh 3y agoSomeone could probably make an AutoCAD clone similar to this using Textual and maybe a library like https://github.com/sinclairzx81/zero https://github.com/sinclairzx81/zero
- samwillis 3y agoThis is both an excellent demo of what you can build with Textual, and just a brilliantly ridiculous project, it's exciting to see. I'm looking forward to seeing some commercial products adopt Textual, I hope we see some soon!
- boomskats 3y agoThis is getting outright ridiculous now. Will & his lot at Textualize are absolutely killing it. Hats off. I've even almost forgiven him for not calling it Textualise (obviously the correct spelling).
- pseufaux 3y agoMy first thought with Textual and most TUIs is always, "but why?" But then I actually look at what they are building, and I realize, "Oh, because it's really cool!"
- thumbuddy 3y agoYes this is downright great. Kudos to the author what a fun throwback/revitalization
- teh_klev 3y agoVery early in my career I wrote a ton of code in Clipper (a dBase clone and compiler). In some ways I kinda miss doing @SAY, @GET, the TBrowse class etc and their TUI.
- davepdotorg 3y agoI spent most of the 90s writing Clipper code, used to hang out in comp.lang.clipper lots too. Do still sort of miss it. https://harbour.github.io/ https://harbour.github.io/ does exist, although it’s a long while since I last played with that.
- teh_klev 3y agoClipper, BLINKER and the Brief editor FTW!
- davepdotorg 3y agoI was more of a qedit fan myself (later TSE), but yeah they were good days. If you want a real blast from that past, there's even still an archived version of The Oasis kicking about: https://harbour.github.io/the-oasis/docs/ https://harbour.github.io/the-oasis/docs/
- arc9693 3y agoMy thought was exactly same, “but why?”. It is indeed very cool. But ‘cool’ not enough to drive such an effort for me i guess. I realize the importance, as it can be used over SSH too. A TUI can be very helpful for graphic less servers, say.
- pseufaux 3y agoAbsolutely, I can't wait to get my MS Paint on over ssh. But more seriously, you're absolutely right. There is clearly a large degree of utility in utilizing the terminal as a visual interface/platform. A project such as Textual, which makes development for that platform simpler, is something I can stand behind.
- anta40 3y agoOn my MacBook Air 2017, it chokes when loading a 1280x800 JPG (around 192 KB). At least so far works OK when creating new images.
- AnonymouX47 3y agoPerformance should improve soon.
- smusamashah 3y agoThis is by the same person who made jspaint. https://github.com/1j01/jspaint https://github.com/1j01/jspaint Some of the other projects by the author are also very interesting https://github.com/1j01?tab=repositories&q=&type=&language=&sort=stargazers https://github.com/1j01?tab=repositories&q=&type=&language=&... There is this pipes screen saver for example https://1j01.github.io/pipes/ https://1j01.github.io/pipes/ EDIT: Website of the author listing some of these projects https://isaiahodhner.io/apps https://isaiahodhner.io/apps
- smusamashah 3y agoI already knew about https://yourworldoftext.com https://yourworldoftext.com Going through his projects (https://github.com/1j01/diverge https://github.com/1j01/diverge) I have discovered https://ourworldoftext.com/ https://ourworldoftext.com/ which offers more features like public and private areas on the canvas and a lot more. In there I discovered https://ourworldofpixels.com/ https://ourworldofpixels.com/ which is the same except it gives you a virtually infinite public canvas of pixels. There is a lot activity on it. There are some incredible worlds on it https://ourworldofpixels.com/countrysim https://ourworldofpixels.com/countrysim https://ourworldofpixels.com/planetsim https://ourworldofpixels.com/planetsim https://ourworldofpixels.com/jpdld https://ourworldofpixels.com/jpdld
- wiz21c 3y agoI expect, at the minimum: - a rust port - an emacs port :-)
- testtestabcdef 3y agoIt needs vim-motions tho
- mbork_pl 3y agoWell, Emacs has had a poor man's "Paint" for over two decades: ;;; artist.el --- draw ascii graphics with your mouse -*- lexical-binding: t -*- ;; Copyright (C) 2000-2023 Free Software Foundation, Inc. It is not as nice and colorful, but it has a spray tool (yay!). Also, it is actually useful once in a while [0]. [0] https://mbork.pl/2023-07-15_Drawing_ASCII_art_charts_in_Emacs_buffers https://mbork.pl/2023-07-15_Drawing_ASCII_art_charts_in_Emac...
- tripflag 3y agoHow about bash? :p r() { read -n1 -r c; [ "$c" = "$1" ]; }; b=2; stty -echo -icanon; printf '\033[H\033[0m\033[J\033[?1003h'; while true; do r $'\033' || { printf '%s\n' "$c" | grep -qE '[0-7]' && b=$c; continue; }; r \[ || continue; r "M" || continue; r "@" && d=y || d=; read z x y z < <(head -c 2 | hexdump -C); [ $d ] || continue; printf '\033[%d;%dH\033[1;4%dm \033[0m\033[D' $((0x${y}-32)) $((0x${x}-32)) $b; done (you can change colour with digits 1..7 btw!)
- balou23 3y agois there a name/page/nonobfuscated version/git repo for that script?
- tripflag 3y agoit's not intentionally obfuscated, it just happened like that :-) The only place I've posted it until now is on my oneliners collection, https://ocv.me/doc/unix/oneliners/#c58b5be6 https://ocv.me/doc/unix/oneliners/#c58b5be6
- 3y ago
- jasonjmcghee 3y agoReminds me of REXPaint, which is a pretty cool project. https://www.gridsagegames.com/rexpaint/index.html https://www.gridsagegames.com/rexpaint/index.html
- jortr0n 3y agoFor me it brings memory of DOS applications TheDraw and ACiD Draw from the 90's BBS era. Magical times.
- jonwest 3y agoI would love to see something like Monodraw, that could generate centered text boxes and simple diagrams for use in READMEs. Monodraw is great, but I don’t think it’s in development anymore.
- rafabulsing 3y agoOh man, I've long had the idea for a plain text diagram creator, great to see that someone has gone there before.
- mahrz 3y agoI started a library for this a while ago (using rich): https://github.com/mahrz24/netext https://github.com/mahrz24/netext Recently I tried to adopt it to textual as well: https://twitter.com/mahrz24/status/1679816272509386753?s=46&t=xlG3yQxIO_CPw0AG83cJLg https://twitter.com/mahrz24/status/1679816272509386753?s=46&...
- rafabulsing 3y agoCool, will check it out!
- kristofferg 3y agoFantastic project! Would have loved this on DOS back in the days.
- mseepgood 3y agoDOS didn't have these nice emoji icons, but we had TheDraw back then.
- kristofferg 3y agoLooks cool - Unfortunately this is the first time I hear about it!
- NovemberWhiskey 3y agoThis had me reminiscing about BBS days and drawing banners with TheDraw ref. https://en.wikipedia.org/wiki/TheDraw https://en.wikipedia.org/wiki/TheDraw
- wintorez 3y agoOne of those things that seeing it in action is a lot more impressive than what you may imagine.