Hacker News new | ask | show | jobs
by symplee 1998 days ago
This is awesome!

Anyone discover any cool graphs to share?

For example, the simplest one producing something interesting I've found so far is:

  t%x
Which creates a growing jagged triangular graph when you press "play" for the "t" constant.

Naturally, this can be built upon to make weirder and weirder graphs, ex:

  sin(t%x)
3 comments

    noise(t*x)*(x+1)
There was a hypnotic graphic effect on my phone. As the wave phased between modes it appears to be a smooth wave after a threshold (graph sample aliasing?), a cyclic standing envelope like angular frequency, in t. Quite nice.
Stochastic resonance?
inversesqrt(t%x)
I kind of like this one sin(8x)/2x
try sin(8 * x)/2 * x/sin(t)

or even

sin(b * x * t/clamp(b/10,x/t,t)) * x * clamp(b/40 * t,x/10,t)

or sin(b * x * t/clamp(b/10,x / t,t)) * x * clamp(b/40,x/10,t)

or sin( b * x * t/clamp(b/10,x/t,t)) * x * (x-x * x) * clamp(b/4,sin (x * t) * x/10,t)

hehe, nice. I can see I have a new way of wasting time :)