r/generative • Artist • Oct 27 '26

One Liners

I have an obsession with one-liners. Here a selection of a few single continuous line outputs from my most recent algorithm that can be plotted without ever raising the pen.
Vanilla JavaScript exported as SVGs.

82 Upvotes

8 comments sorted by

7

u/berkes Oct 27 '26

One-liner in that the code draws one line? Or that the code (and libraries?) are on one line?

4

u/iSellMySoul Artist Oct 28 '26

That the output is a single continuous line and when I plot them the plotter never raises the pen. The code is way more than one line :)

2

u/yerbavista Oct 28 '26

These are really bold! I'm also curious how such complexity fits in one line if I understood correctly?

2

u/iSellMySoul Artist Oct 28 '26

The output is a single line, the plotter never raises the pen. Shading is achieved with vertical ticks.

1

u/yerbavista Oct 28 '26

I can follow it looking closely for sure, really impressive work!

2

u/ZaxusEMK Oct 28 '26

"One liners."

Three lines in the description, none of them code (or even just the algorithm). 💔️

1

u/iSellMySoul Artist Oct 28 '26

You fixed it with a nice one-liner comment 😂

2

u/katastatik Oct 27 '26

Looks a lot like a bessel function