~/talk

Waiter, there are fish in my Rust

Talkat RustNL 2023 · on Wednesday, 2023-05-10· [rust]
slides:none on file

Recreates Escher’s Square Limit by encoding the painters method: images are functions that accept a box and return lists of SVG draw commands; boxes are 3-vector transforms (origin, x and y axes) used to flip, toss, rotate and tile a fish motif. Implementation uses Rust vectors from crates, Rc reference counting to avoid lifetimes, and composes nine recursive tiles into the final grid. The talk ties the code to Peter Henderson’s functional geometry paper and notes awkwardness from Rust’s strict types compared with dynamic functional languages.

AI-written summary · about

  1. 0:00Introduction
  2. 1:58Recursion with painter’s algorithm
  3. 3:24Box abstraction for images
  4. 5:14Flip and transform with vectors
  5. 7:02Flip box in Rust
  6. 8:26Pictures as functions
  7. 9:49Toss and combine transforms
  8. 11:58Higher-order image composition
  9. 13:22Escher’s Square Limit
  10. 16:14Fish tile concept
  11. 18:43Fish tiles pattern
  12. 20:53Recursion challenges in Rust
  13. 24:49Final code structure
  14. 25:53Functional geometry paper
  15. 27:19Extending to circle limits
  16. 30:53Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.