home/ atoms/ generative-design-pma-structure

Generative Design organises its p5.js sketches as Principles (P) then Methods (M) then Applications (A)

The Generative Design (Bohnacker et al.) code package separates concerns across three tiers. 01_P (Principles) covers foundational topics by domain — P_1 colour, P_2 shape, P_3 type, P_4 image — each explored through small parametric sketches. 02_M (Methods) introduces generative algorithms that cut across domains: noise, oscillators, agent systems, attractors, packing, trees/graphs. 03_A (Applications) shows complete design artifacts combining multiple methods. This structure separates ‘what varies’ (domain subject in P) from ‘how variation is generated’ (algorithm in M), so any M method can be applied to any P domain. The folder numbering encodes chapter.section.subsection.variant.

Examples

P_2_2_6_01 (pendulum chain shapes — a shape principle); M_1_3_01 (Perlin noise — a method); 03_A/Cover_Lines (a complete artifact). The tree at repo root shows the 01_P / 02_M / 03_A split.

Assessment

Map three sketches from different folders to the P/M/A tier and explain what each tier contributes. Pick one M-tier algorithm and name two P-tier domains it could be applied to.

“source code for the book [Generative Design: Creative Coding for the Web]”