rm-hull / bézier-numbers.cljs
Last updated

A subtle variation of Jack Frigaard's Bézier Clock implemented in ClojureScript. Rather than just rendering the current time, this separates the value generation from interpolating the Bézier control points that go up to make the digits using communicating sequential processes, as supplied by Big-bang and core.async channels. The generator big-bang broadcasts a new value at timed intervals (value being one of: the current time, integers, primes or random numbers), and six further big-bang processors are each responsible for lerping the transition from one digit value to its successor.

Fork me on GitHub!