Re:A Universe in One Line of Code with 10 PRINT
by tyingq on Sunday November 12, 2017 @10:47AM
(#15681206)
Xterm has tektronix mode which is somewhat similar. Try:
xterm -t -e 'curl https://raw.githubusercontent.com/joejulian/xterm/master/tektests/usmap.tek ; sleep 10'
Re:A Universe in One Line of Code with 10 PRINT
by pmarreck on Sunday November 12, 2017 @06:16PM
(#15683096)
oh wow, that's pretty cool
Re:A Universe in One Line of Code with 10 PRINT
by swiley on Sunday November 12, 2017 @06:26PM
(#15683135)
Xlib is trivially easy to use if you're willing to use C. Slightly harder (but also satisfying if you have serious NIH) is the /dev/fb interface.
And there's sixel if you're using a terminal like mlterm.
Re:A Universe in One Line of Code with 10 PRINT
by underwoodley on Monday November 13, 2017 @08:42AM
(#15686452)
Funny, I've often heard X programming described as 'not trivially easy'.
Re:A Universe in One Line of Code with 10 PRINT
by swiley on Monday November 13, 2017 @09:43AM
(#15686800)
Maybe doing widgets is hard? If you just want to draw shapes on the screen there honestly isn't an easier way to do it.
Re:A Universe in One Line of Code with 10 PRINT
by forinti on Sunday November 12, 2017 @10:55AM
(#15681225)
If you are not too picky, there's always JavaScript and Canvas.
Re:A Universe in One Line of Code with 10 PRINT
by Piskvorrr on Sunday November 12, 2017 @11:19AM
(#15681304)
That's "without prerequisites" nowadays? Interesting. In my world, this requires installing one of the most complex pieces of software in existence (a web browser, plus its dependencies), on top of a graphical OS (also a highly complex network of interdependencies).
Re:A Universe in One Line of Code with 10 PRINT
by Turing_Machine on Monday November 13, 2017 @10:10AM
(#15686953)
> In my world, this requires installing one of the most complex pieces of software in existence (a web browser, plus its dependencies), on top of a graphical OS (also a highly complex network of interdependencies).
In most people's world (where "most" is probably > 95%), their computer comes with those things already installed.
Re:A Universe in One Line of Code with 10 PRINT
by Piskvorrr on Wednesday November 15, 2017 @11:39AM
(#15705051)
Complex architectural stacks have costs beyond install in most people's world: how many layers of indirection between <canvas> and actually drawing on the screen? That's a lot of cycles spent doing busywork.
Re:A Universe in One Line of Code with 10 PRINT
by Something1234 on Sunday November 12, 2017 @01:11PM
(#15681811)
Yeah, but installing a browser is easy, compared to setting up depends for other environments.
Re:A Universe in One Line of Code with 10 PRINT
by owl57 on Sunday November 12, 2017 @02:01PM
(#15682039)
There's the same implied prerequisite as with BASIC: you need a personal computer. I mean, you seem to know how to uninstall the browser from your laptop, but is not doing that a meaningful prerequisite?
http://www.learningclojure.com/2010/09/graphics-like-its-197...
The author talks about how its harder to get graphics on the screen without installing prerequisite software than it used to be, and goes on to sing the praises of the ZX Spectrum and its concise and well written manual. He finishes the article with some fun coding experiments writing Clojure code in the spirit of the ZX.