~/talk

Physics in Clojure

Talkat Clojure/west 2017 · 2017-03-30..03-31· [creative-coding]
links:none on file
slides:none on file

Ports Sussman and Wisdom’s SICP-classical-mechanics system into Clojure, implementing Lagrangians, automatic generation of Euler–Lagrange equations, and conversion to a state derivative for numerical integration; uses dual numbers for forward automatic differentiation, multimethod generic arithmetic, a symbolic simplifier with polynomial GCD, and codegen to JavaScript to run a double pendulum and a driven pendulum that reproduce chaos and Poincaré surface of section portraits; project takes ~2 years, ships ~1500 tests, and produces an interactive web demo that actually works.

AI-written summary · about

  1. 0:00Intro
  2. 0:40SiP
  3. 2:47Lagrangian
  4. 3:33State
  5. 4:10Least Action
  6. 5:13Euler Lagrange
  7. 5:58Chain Rule
  8. 6:59Coding
  9. 14:26Potential
  10. 15:11Double pendulum
  11. 16:29Differential equation
  12. 17:27State couple
  13. 18:28Converting to JavaScript
  14. 19:00Tiny Web App
  15. 19:10Tiny Animation
  16. 19:45Shift Gear
  17. 25:34Simplification
  18. 27:12Rulebased simulation
  19. 28:31Application hooks
  20. 31:08Hamiltonian mechanics
  21. 32:48plonker
  22. 33:36driven pendulum example
  23. 37:18functional differential geometry
  24. 38:15a weird trick
~/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.