~/talk

Nightgraph: Putting Code to Paper with Rust

Talkat RustFest Global 2021 Rust in Arts Edition · on Saturday, 2021-11-20· [creative-coding, rust]
slides:none on file

nightgraph is a Rust creative‑coding stack that turns parametric shapes into SVG for pen plotters, with an interactive parameter UI that updates sketches live (native + wasm) and a graphics API that exposes concrete features: stroke generation, boolean ops like difference/offset, shape queries (area, centroid, intersections), and flattening to segments. demo shows e‑gui UI handling hundreds of thousands of line segments responsively; kerbo supplies robust bezier discretization; CLI is clap‑style. current gaps: no direct UI export, compiled sketches require rebuild, and scripting for third‑party code is experimental (gluon/mun explored).

AI-written summary · about

  1. 0:00Introduction
  2. 2:28About me
  3. 3:47Plotters
  4. 4:35SVGs
  5. 6:20Initial Rust Works
  6. 7:52Language
  7. 10:37OpenCAD vs Pen
  8. 11:21Closed Shapes
  9. 13:01Nightgraph Components
  10. 14:20Nightgraph Shapes
  11. 17:00Shapes
  12. 17:53Centroid
  13. 18:14Canvas
  14. 18:36API
  15. 19:34Sketch
  16. 19:59Execution Context
  17. 20:12Clap
  18. 22:46Parameters
  19. 25:13Attributes
  20. 25:41Sketch List
  21. 26:21Nightgraph CLI
  22. 28:22param metadata
~/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.