~/talk

Evolving JavaScript: Cultivating Genetic Algorithms for Creative Coding

Talkat ReactNext 2024 · on Monday, 2024-06-24· [javascript, creative-coding]
slides:none on file

A hands‑on run through genetic algorithms for creative coding showing concrete tools, results, and failure modes: a canvas + TypeScript + xstate demo evolves random circles into a target using roulette‑wheel selection, reaching a 99.4% match at ~2700 generations (second particle demo climbs to ~87–99% but can stall live because mutation settings break convergence); population sizes, selection method, mutation rates, fitness weights, and frame rate (up to ~200fps) are all specified and tuned.

AI-written summary · about

  1. 0:00Introduction
  2. 3:32Genetic algorithms birth
  3. 9:32How GAs work step by step
  4. 13:03Creative coding demo
  5. 19:45Particle system evolution
  6. 23:56Canvas tips and resources
  7. 26:05Key lessons from GAs
  8. 28:12Closing thoughts
~/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.