[ prog / sol / mona ]

prog


The Forced Indentation Of Code

263 2023-06-22 12:53

Hilbert space-filling curve on the connector flower garden >>258. The supporting infrastructure is the same as for Peano >>258, with the grammar switched to Hilbert and the expansion factors to 2.

terminal-sized output: >>259,260
code: >>261,262
larger output: http://paste.textboard.org/85314814/raw https://endchan.net/art/res/2.html#72

Post joiner to reassemble all the split posts up to this point >>249,250 >>254,255 >>256,257 >>259,260 >>261,262:

((getcode, thread, joinspecs) => joinspecs.forEach (([pids, separ, remove]) => (codes => (count => {codes [count - 1].innerText = codes.map (e => e.innerText).join (separ); if (remove) {codes. slice (0, -1).forEach (e => e.remove ())}}) (codes.length)) (pids.split (" ").map (s => getcode (thread, parseInt (s, 10)))))) ((thread, id) => document.getElementById ("t" + thread + "p" + id).parentNode.nextElementSibling.querySelector ("code"), 22, [["249 250", "\n", true], ["254 255", "\n", true], ["256 257", " ", true], ["259 260", "\n", true], ["261 262", " ", true]])
267


VIP:

do not edit these