Generative Design with Scala.js
summary
A typed Scala.js wrapper for P5.js called P5.scala brings Processing-style visuals into a functional Scala workflow, with concrete examples that turn MIDI streams into graphics using the Web MIDI API. The code shows how state is initialized and evolved by pure functional updaters, how external events feed a list of state transformers, and a working demo plots shapes driven by MIDI velocity; library is work in progress with slides and code linked.
AI-written summary · about
chapters (4)
related talks
36mAn Intro to Generative Art with Scala
32mScala, Sound, and Structure - Composing Music through FP
29mInfinite Patterns in the Digital Canvas
27mScala Sampler for Functional Soundscapes
27mBreaking Down JavaScript Complexities With Generative Art
27mScala Sampler for Functional Soundscapes
42mSounds of Structure - Music Modelling with ADT's
45mSongwriting in Scala: Creating a DSL for writing Music with ADT's
