logoalt Hacker News

nukanse • today at 10:25 AM • 0 replies • view on HN

Sin cos are exponentials. There is a shorter way to create a square wave function: take a tiny base 0<b<1, and any initial function 0<f(x)<1 Iterate b^f(x), and it produce a square wave with smooth corners