News for hackers. Stuff that matters.
Re:Spirograph by aquova on Sunday March 07, 2021 @11:56PM (#26382395)
As a side note, I've been playing around with interesting mathematical functions like this as fun, visual coding projects. I had discovered the Lissajous curves[1], but I was curious if anyone else had any functions of this sort that are visually pleasing.

[1]https://en.wikipedia.org/wiki/Lissajous_curve

Re:Spirograph by vram22 on Monday March 08, 2021 @11:40AM (#26387733)
Ha ha, Lissajous curves.

I first discovered them in a math book, early on, in a phase when I had a craze for computer graphics programming. Plotted conics, sine and cosine, Lissajous, derived curves of all kinds, independently discovered an algorithm to draw Spirograph-like curves, etc. Some Lissajous figures I drew looked like yellow flickering flames. Good fun.

Edit:

Re: flickering flames:

Just looked it up:

"Rational ratios produce closed (connected) or "still" figures, while irrational ratios produce figures that appear to rotate."

From:

https://en.m.wikipedia.org/wiki/Lissajous_curve

Years later I blogged this:

Lissajous hippo, retrocomputing and the IBM PC Jr.:

https://jugad2.blogspot.com/2012/09/lissajous-hippo.html?m=0