Most beauty per unit code
Share your favorite short programs that have beautiful output.
Any output modality, any programming language, any units.
Recording of output helpful but not required.
I think a program is more beautiful that doesn't generate identical output each time. But that's just my opinion.
My candidate is ~24 lines of LÖVE or equivalent. I'll share it a little later.
I suppose 10print is another candidate.
Boost at will.
@akkartik Here's a small example using my #Forth-like DSL & livecoding REPL for 2D geometry generation with SVG export. The example source code is stored in the URL hash, but not sure how Mastodon handles it (let's try):
A commented alt-version of this example (same URL minus the hash fragment):
https://demo.thi.ng/umbrella/pointfree-geom/
Project/example homepage:
https://github.com/thi-ng/umbrella/tree/develop/examples/pointfree-geom/
Made with these packages:
- https://thi.ng/geom
- https://thi.ng/pointfree
- https://thi.ng/pointfree-lang