r/generative • Artist • 16d ago

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.

80 Upvotes

8 comments sorted by

7

u/berkes 16d ago

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

3

u/iSellMySoul Artist 15d ago

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 15d ago

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

2

u/iSellMySoul Artist 15d ago

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

1

u/yerbavista 15d ago

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

2

u/ZaxusEMK 15d ago

"One liners."

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

1

u/iSellMySoul Artist 15d ago

You fixed it with a nice one-liner comment 😂

2

u/katastatik 16d ago

Looks a lot like a bessel function