RHOS

Suppose a stack 𝕊 and a set of functions ℱ︀ that operate thereon—popping values off for use as inputs, and putting back on the corresponding outputs. Suppose further that ℱ︀, among other functions, contains those listed in Listing 1.

Listing 1: A few of the functions in ℱ︀

Each is a concise incantation, performed on the arbitrarily many dimensions of an input. Lastly, recall that an 𝑛×𝑛 Gaussian kernel can be constructed using the Radial Basis Function in Equation 1,

𝐾 𝑖 , 𝑗 = exp ( − 𝑖 2 + 𝑗 2 2 𝜎 2 )

where 𝑖,𝑗 are indices of the kernel relative to its center, which, using the functions in Listing 1, can be expressed as per Listing 2.

Listing 2: Radial basis function (top), Gaussian kernel function (middle), and discrete two dimensional derivative function (bottom)

The code D G n σ thus generates Figure 1.

Figure 1: The derivative of a kernel, D G 49 σ, as 𝜎 breathes between 2 and 6

For the scientifically inclined, these Gaussian gradients might bring to mind the notion of orbitals, and probability density functions (indeed that is in fact what a Gaussian is). However—and perhaps more strikingly—the relationship between Listing 2 and its output is of an asemic nature, echoing works like the Codex Seraphinianus. To put it bluntly, Uiua—the language of which we speak—is rivalled in its inscrutability only by its expressiveness, which is to say very.

The artifacts produced—kernels, gradients, figures—are legible to those initiated in the hypothetical scientific ritual to which they could have belonged, and yet the code that conjures them echoes the inscrutable glyphs of the Codex Seraphinianus, where language teeters on the edge of aesthetics, but quite far from meaning.