D'ici 90 minutes un peu +, c'est La Vie Des Microbes #009, agenda lillois underground à la radio - cantines, rock'n roll, cinoche militant, troubles psychiques et bien d'autres... On se branche sur #RCV99fm à 23h., hophophop !
#HowToThing#009 — Basic 2D canvas drawing and using the threadLast() dataflow operator from https://thi.ng/compose for better legibility & comprehension of complex, nested call expressions, e.g. as used in functional data transformation pipelines.
In this example, we're transforming a stream of timestamps (from requestionAnimationFrame()), into animated 2D curve points, those into colored circle shapes and finally wrap all into a single group/scene for drawing.
A more basic intro example of the operator is included at the beginning... (#Clojure people will know the same as the ->> macro)