Interpolation in Computer Art, Part Two: A Pedagogical Sketchbook
This article details a Pedagogical Sketchbook of geometric interpolations, offered for collection as non-fungible tokens. For information on the concepts behind these works, please see Part One. To browse the NFTs, visit here.
Interpolation is central to creative coding, both as a technique and as a subject. In late 2017, inspired by the examples I discuss in Part One of this article, I challenged myself to come up all of the ways that I could interpolate from a circle to a triangle—the Platonic extremes of geometric smoothness and pointiness—in a week’s time. I devised and implemented fourteen interpolation methods, which are indexed and described in this article.
I set myself the rule that all of the interpolations should consist of simple polylines and/or connected sequences of arcs and simple curves, such as could be executed by a mechatronic pen-plotter like an AxiDraw. In the spirit of Paul Klee’s 1925 Pedagogical Sketchbook, my vision was to develop animations that had pedagogic value through their combination of a distinctive visual character and a unique conceptual or algorithmic approach.
The resulting sketchbook resides on the blockchain, and each of its “pages”, or online NFTs, is minted with its complete p5.js (JavaScript) source code in its accompanying metadata. The full set of fourteen interpolations are durably formatted as animated GIFs, and were minted daily from November 1–14, 2021, as low-carbon NFTs on the Tezos blockchain.
In recognition of the 20th anniversary of the Processing family of creative coding toolkits (which were used to develop the studies), and with the help of WG3.2’s “collab contract”, these NFTs automatically share 20% of all proceeds, for both primary and secondary sales, in perpetuity, with the Processing Foundation. Creative coding toolkits like Processing and p5.js are the backbone of an enormous creative community, but are developed by tiny teams with few resources. I feel strongly that this new smart contract is an important development in supporting the development of open-source software toolkits for the arts, and I hope this project can help serve as an example of this mode of support.
◯⟷△ №.01.
Interpolation From a Circle to an Equilateral Triangle (#01): A circle is treated as a (rounded) triangle, whose rounded corners have a dynamic radius. 11/1/2021 • At HicEtNunc.art • at Objkt.com • #Objkt 494518
◯⟷△ №.02.
Interpolation From a Circle to an Equilateral Triangle (#02): In which a circle is approximated by three circular arcs, whose radii dynamically lengthen to infinity. 11/2/2021 • At HicEtNunc.art • at Objkt.com • Objkt #494889
◯⟷△ №.03.
Interpolation From a Circle to an Equilateral Triangle (#03): By gradually flattening a circle on three sides. 11/03/2021 • At HicEtNunc.art • at Objkt.com • Objkt #494899
◯⟷△ №.04.
Interpolation From a Circle to an Equilateral Triangle (#04): By considering it as a set of alternating straight lines and arcs, in which the arcs shrink while the lines grow. 11/04/2021 • At HicEtNunc.art • at Objkt.com • Objkt #494924
◯⟶△ №.05.
Interpolation From a Circle to an Equilateral Triangle (#05): By sampling a circle into many segments, and then locally averaging (blurring) each contour point with its neighbors, except for the three special corner vertices. 11/05/2021 • At HicEtNunc.art • at Objkt.com • Objkt #494951
◯⟷△ №.06.
Interpolation From a Circle to an Equilateral Triangle (#06): By progressively deleting all vertices along a resampled circle, except for three special vertices, which constitute the triangle’s corners. 11/06/2021 • At HicEtNunc.art • at Objkt.com • Objkt #495621
◯⟷△ №.07.
Interpolation From a Circle to an Equilateral Triangle (#07): By gradually shrinking the circle’s radius, revealing triangular corners within. 11/07/2021 • At HicEtNunc.art • at Objkt.com • Objkt #495720
◯⟷△ №.08.
Interpolation From a Circle to an Equilateral Triangle (#08): By treating the circle as a multisided polygon whose number of sides gradually decreases to three. 11/08/2021 • At HicEtNunc.art • at Objkt.com • Objkt #497790
◯⟷△ №.09.
Interpolation From a Circle to an Equilateral Triangle (#09): By progressively rendering it as a 3-gon, 6-gon, 12-gon, 24-gon, 48-gon, etcetera, with smooth interpolations. 11/09/2021 • At HicEtNunc.art • at Objkt.com • Objkt #497907
◯⟷△ №.10.
Interpolation From a Circle to an Equilateral Triangle (#10): By treating points along the perimeter as a series of springy particles. 11/09/2021 • At HicEtNunc.art • at Objkt.com • Objkt #498129
◯⟷△ №.11.
Interpolation From a Circle to an Equilateral Triangle (#11): By progressively moving points evenly sampled along the circle, towards points on the triangle, resampled at equal intervals, by small random amounts. 11/09/2021 • At HicEtNunc.art • at Objkt.com • Objkt #518876
◯⟷△ №.12.
Interpolation From a Circle to an Equilateral Triangle (#12): By treating the form as a series of six circular arcs, whose radii alternate between small and large. 11/09/2021 • At HicEtNunc.art • at Objkt.com • Objkt #527900
◯⟷△ №.13.
Interpolation From a Circle to an Equilateral Triangle (#13): By linearly interpolating points on the circle towards points on the triangle, along radii of the circle. 11/09/2021 • At HicEtNunc.art • at Objkt.com • Objkt #532046
◯⟷△ №.14.
Interpolation From a Circle to an Equilateral Triangle (#14): By approximating a circle with three Bézier cubic splines and modulating the spline control points. 11/09/2021 • At HicEtNunc.art • at Objkt.com • Objkt #532206
Acknowledgments
The studies in this Pedagogical Sketchbook were developed using Processing and p5.js, amazing tools which have given livelihoods and community to a vast group of creative people. Thanks to Daniel Shiffman for originally proposing that I share these studies with a wider public, and for hosting my presentation about them on his popular YouTube platform, The Coding Train. These studies were released using a beta test of the WG3.2 team’s “collab contract” — by means of which @ProcessingOrg contractually received (and will forever receive) 20% of all sales. I’m grateful to @1x1_NFT for sharing access to this with me, to Casey REAS for encouragement, and to the many collectors, especially including @nftbiker, @digitalcoleman, @huwythechew, @memotv, @drew_y_art, @wblut, @RichardNadler1, @jk__keller, and @bit_checker_pro whose support made this project possible.