The Escher School of Fish: Modelling with Functions
summary
Live-coding in Elm reimplements Henderson’s 1982 “Functional Geometry”: a picture-as-function type maps a bounding box to a rendering, and concrete higher-order operators — turn/flip/toss plus composition and a times combinator — transform boxes to produce rotated, flipped and scaled tiles. Two tile builders (T-tile and U-tile), recursive side and corner functions, and quartet/nonet assemblers produce Escher’s Square Limit in the browser, including a colored variant; the recreation runs and visually matches the woodcut.
AI-written summary · about
